Added support for Solus

This commit is contained in:
Dylan
2016-02-14 19:42:27 +11:00
parent c0b36ad48c
commit 191fb776b3
3 changed files with 30 additions and 0 deletions

9
fetch
View File

@@ -635,6 +635,10 @@ getpackages () {
packages="$(pkginfo -i | wc -l)"
;;
"Solus"*)
packages="$(pisi list-installed | wc -l)"
;;
"Mac OS X"*)
if [ -d "/usr/local/bin" ]; then
local_packages=$(ls -l /usr/local/bin/ | grep -v "\(../Cellar/\|brew\)" | wc -l)
@@ -1663,6 +1667,11 @@ getascii () {
c2=$(color 1)
;;
"Solus"*)
c1=$(color 7)
c2=$(color 8)
;;
"Trisquel"*)
c1=$(color 4)
c2=$(color 6)