commit
cb9a0b659b
2
fetch.sh
2
fetch.sh
|
@ -152,6 +152,8 @@ uptime=$(uptime -p)
|
||||||
# (Link is at the top)
|
# (Link is at the top)
|
||||||
getpackages () {
|
getpackages () {
|
||||||
case $os in
|
case $os in
|
||||||
|
'void') \
|
||||||
|
packages=$(xbps-query -l | wc -l) ;;
|
||||||
'Arch Linux'|'Parabola GNU/Linux-libre'|'Manjaro'|'Antergos') \
|
'Arch Linux'|'Parabola GNU/Linux-libre'|'Manjaro'|'Antergos') \
|
||||||
packages=$(pacman -Q | wc -l) ;;
|
packages=$(pacman -Q | wc -l) ;;
|
||||||
'Ubuntu'|'Mint'|'Debian'|'Kali Linux'|'Deepin Linux') \
|
'Ubuntu'|'Mint'|'Debian'|'Kali Linux'|'Deepin Linux') \
|
||||||
|
|
Reference in New Issue