improved [ "$packages" -gt 1 ]

uninversed the condition
This commit is contained in:
TpaeFawzen 2020-10-30 18:47:47 +09:00 committed by GitHub
parent b4ec68fded
commit 8e55e6c600
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

2
pfetch
View File

@ -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() {