Added support for Solus
This commit is contained in:
parent
c0b36ad48c
commit
191fb776b3
1
1.2.md
1
1.2.md
|
@ -16,6 +16,7 @@ Fetch now supports:
|
|||
- `BLAG`
|
||||
- `Void Linux`
|
||||
- `Trisquel`
|
||||
- `Solus`
|
||||
|
||||
|
||||
### Makefile
|
||||
|
|
|
@ -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
9
fetch
|
@ -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)
|
||||
|
|
Reference in New Issue