Add elementary support to getpackage

This commit is contained in:
Dylan 2016-01-24 08:09:22 +11:00
parent ab92616da8
commit bd230f31f7

2
fetch
View file

@ -450,7 +450,7 @@ getpackages () {
packages="$(xbps-query -l | wc -l)" packages="$(xbps-query -l | wc -l)"
;; ;;
"Ubuntu"* | "Mint"* | "Debian"* | "Kali Linux"* | "Deepin Linux"*) "Ubuntu"* | "Mint"* | "Debian"* | "Kali Linux"* | "Deepin Linux"* | "elementary"*)
packages="$(dpkg --get-selections | grep -v deinstall$ | wc -l)" packages="$(dpkg --get-selections | grep -v deinstall$ | wc -l)"
;; ;;