This commit is contained in:
dylan araps 2016-01-01 09:33:16 +11:00
commit 496a254db1

View file

@ -164,6 +164,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') \