mirror of
https://github.com/dylanaraps/pfetch.git
synced 2026-11-03 13:38:27 +00:00
improved [ "$packages" -gt 1 ]
uninversed the condition
This commit is contained in:
1 parent
b4ec68fded
commit
8e55e6c600
1 file changed
+1
-1
@@ -565,7 +565,7 @@ get_pkgs() {
|
|||||||
(IRIX) packages=$((packages - 3)) ;;
|
(IRIX) packages=$((packages - 3)) ;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
case "$packages" in (0|1|-*) :;; (*) log pkgs "$packages" >&6;; esac
|
case "$packages" in (1?*|[2-9]*) log pkgs "$packages" >&6;; esac
|
||||||
}
|
}
|
||||||
|
|
||||||
get_memory() {
|
get_memory() {
|
||||||
|
|||||||
Reference in new issue
Block a user