Added support for Frugalware

This commit is contained in:
Dylan 2016-02-15 22:59:28 +11:00
parent 9f851df3b4
commit 6fa9366006
3 changed files with 31 additions and 1 deletions

1
1.2.md
View file

@ -27,6 +27,7 @@ Fetch now supports:
- `LMDE` - `LMDE`
- `KaOS` - `KaOS`
- `Sabayon` - `Sabayon`
- `Frugalware`
### Makefile ### Makefile

25
ascii/distro/frugalware Normal file
View file

@ -0,0 +1,25 @@
"\
${c2} \`++/::-.\`
${c2} /o+++++++++/::-.\`
${c2} \`o+++++++++++++++o++/::-.\`
${c2} /+++++++++++++++++++++++oo++/:-.\`\`
${c2} .o+ooooooooooooooooooosssssssso++oo++/:-\`
${c2} ++osoooooooooooosssssssssssssyyo+++++++o:
${c2} -o+ssoooooooooooosssssssssssssyyo+++++++s\`
${c2} o++ssoooooo++++++++++++++sssyyyyo++++++o:
${c2} :o++ssoooooo${c1}/-------------${c2}+syyyyyo+++++oo
${c2} \`o+++ssoooooo${c1}/-----${c2}+++++ooosyyyyyyo++++os:
${c2} /o+++ssoooooo${c1}/-----${c2}ooooooosyyyyyyyo+oooss
${c2} .o++++ssooooos${c1}/------------${c2}syyyyyyhsosssy-
${c2} ++++++ssooooss${c1}/-----${c2}+++++ooyyhhhhhdssssso
${c2} -s+++++syssssss${c1}/-----${c2}yyhhhhhhhhhhhddssssy.
${c2} sooooooyhyyyyyh${c1}/-----${c2}hhhhhhhhhhhddddyssy+
${c2} :yooooooyhyyyhhhyyyyyyhhhhhhhhhhdddddyssy\`
${c2} yoooooooyhyyhhhhhhhhhhhhhhhhhhhddddddysy/
${c2}-ysooooooydhhhhhhhhhhhddddddddddddddddssy
${c2} .-:/+osssyyyysyyyyyyyyyyyyyyyyyyyyyyssy:
${c2} \`\`.-/+oosysssssssssssssssssssssss
${c2} \`\`.:/+osyysssssssssssssh.
${c2} \`-:/+osyyssssyo
${c2} .-:+++\`
"

6
fetch
View file

@ -613,6 +613,10 @@ getpackages () {
packages="$(pacman -Qq --color never | wc -l)" packages="$(pacman -Qq --color never | wc -l)"
;; ;;
"Frugalware"*)
packages="$(pacman-g2 -Q | wc -l)"
;;
"Dragora"*) "Dragora"*)
packages="$(ls -1 /var/db/pkg | wc -l)" packages="$(ls -1 /var/db/pkg | wc -l)"
;; ;;
@ -1623,7 +1627,7 @@ getascii () {
ascii_distro="redhat" ascii_distro="redhat"
;; ;;
"Fedora"* | "Sabayon"*) "Fedora"* | "Sabayon"* | "Frugalware"*)
c1=$(color 7) c1=$(color 7)
c2=$(color 4) c2=$(color 4)
;; ;;