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

1
1.2.md
View file

@ -16,6 +16,7 @@ Fetch now supports:
- `BLAG`
- `Void Linux`
- `Trisquel`
- `Solus`
### Makefile

20
ascii/distro/solus Normal file
View file

@ -0,0 +1,20 @@
"\
${c1} e e
${c1} eee ee
${c1} eeee eee
${c2} wwwwwwwww${c1}eeeeee
${c2} wwwwwwwwwwwwwww${c1}eee
${c2} wwwwwwwwwwwwwwwwwww${c1}eeeeeeee
${c2} wwwww ${c1}eeeee${c2}wwwwww${c1}eeee
${c2} www ${c1}eeee${c2}wwwwww${c1}e
${c2} ww ${c1}ee${c2}wwwwww
${c2} w wwwww
${c2} wwwww
${c2} wwwww
${c2} wwwww
${c2} wwww
${c2} wwww
${c2} wwww
${c2} www
${c2} ww
"

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)