Merge pull request #4 from sapake/master

Add support for Void Linux
This commit is contained in:
Dylan Araps 2016-01-01 09:01:35 +11:00
commit cb9a0b659b
1 changed files with 2 additions and 0 deletions

View File

@ -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') \