Added support for PCLinuxOS

This commit is contained in:
Dylan 2016-02-13 11:16:15 +11:00
parent e6df26166a
commit b5e95a8ce4
3 changed files with 28 additions and 1 deletions

1
1.2.md
View File

@ -10,6 +10,7 @@ Fetch now supports:
- `openSUSE`
- `Raspbian`
- `Mageia`
- `PCLinuxOS`
### Makefile

21
ascii/distro/pclinuxos Normal file
View File

@ -0,0 +1,21 @@
"\
${c1}mhhhyyyyhhhdN
dyssyhhhhhhhhhhhssyhN
Nysyhhyo/:-.....-/oyhhhssd
Nsshhy+. \`/shhysm
dohhy/ -shhsy
dohhs\` /hhys
N+hho ${c2}+ssssss+- .+syhys+ ${c1}/hhsy
ohhh\` ${c2}ymmo++hmm+\`smmy/::+y\` ${c1}shh+
+hho ${c2}ymm- /mmy+mms ${c1}:hhod
/hh+ ${c2}ymmhhdmmh.smm/ ${c1}.hhsh
+hhs ${c2}ymm+::-\` /mmy\` \` ${c1}/hh+m
yyhh- ${c2}ymm- /dmdyosyd\` ${c1}\`yhh+
ohhy\` ${c2}://\` -/+++/- ${c1}ohhom
N+hhy- \`shhoh
sshho. \`+hhyom
dsyhhs/. \`:ohhhoy
dysyhhhso///://+syhhhssh
dhyssyhhhhhhyssyyhN
mddhdhdmN
"

7
fetch
View File

@ -620,7 +620,7 @@ getpackages () {
packages="$(ls -d /var/db/pkg/*/* | wc -l)"
;;
"Fedora"* | "openSUSE"* | "Red Hat Enterprise Linux"* | "CentOS"* | "Mageia"*)
"Fedora"* | "openSUSE"* | "Red Hat"* | "CentOS"* | "Mageia"* | "PCLinuxOS"*)
packages="$(rpm -qa | wc -l)"
;;
@ -1645,6 +1645,11 @@ getascii () {
c2=$(color 7)
;;
"PCLinuxOS"*)
c1=$(color 4)
c2=$(color 7)
;;
"Raspbian"*)
c1=$(color 2)
c2=$(color 1)