Merge branch 'master' of https://github.com/dylanaraps/fetch.sh
This commit is contained in:
commit
496a254db1
2
fetch.sh
2
fetch.sh
|
@ -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') \
|
||||||
|
|
Reference in New Issue