Arch package count: Disable colored output and hide versions
This commit is contained in:
parent
ae46d6f895
commit
eb8f115df4
2
fetch
2
fetch
|
@ -423,7 +423,7 @@ getuptime () {
|
||||||
getpackages () {
|
getpackages () {
|
||||||
case "$distro" in
|
case "$distro" in
|
||||||
"Arch Linux" | "Parabola GNU/Linux-libre" | "Manjaro" | "Antergos")
|
"Arch Linux" | "Parabola GNU/Linux-libre" | "Manjaro" | "Antergos")
|
||||||
packages="$(pacman -Q | wc -l)"
|
packages="$(pacman -Qq --color never | wc -l)"
|
||||||
;;
|
;;
|
||||||
|
|
||||||
"void")
|
"void")
|
||||||
|
|
Reference in New Issue