improved [ "$packages" -gt 1 ]
uninversed the condition
This commit is contained in:
parent
b4ec68fded
commit
8e55e6c600
1 changed files with 1 additions and 1 deletions
2
pfetch
2
pfetch
|
@ -565,7 +565,7 @@ get_pkgs() {
|
|||
(IRIX) packages=$((packages - 3)) ;;
|
||||
esac
|
||||
|
||||
case "$packages" in (0|1|-*) :;; (*) log pkgs "$packages" >&6;; esac
|
||||
case "$packages" in (1?*|[2-9]*) log pkgs "$packages" >&6;; esac
|
||||
}
|
||||
|
||||
get_memory() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue