From e3245fba63a6505a2e469b9a28d138d67ec2628f Mon Sep 17 00:00:00 2001 From: Dylan Date: Mon, 15 Feb 2016 11:55:18 +1100 Subject: [PATCH] Added support for Mandriva --- ascii/distro/mandriva | 17 +++++++++++++++++ fetch | 9 +++++++-- 2 files changed, 24 insertions(+), 2 deletions(-) create mode 100644 ascii/distro/mandriva diff --git a/ascii/distro/mandriva b/ascii/distro/mandriva new file mode 100644 index 00000000..6b921f8c --- /dev/null +++ b/ascii/distro/mandriva @@ -0,0 +1,17 @@ +"\ +${c2} \`\` +${c2} \`-. +${c1} \` ${c2}.--- +${c1} -/ ${c2}-::--\` +${c1} \`++ ${c2}\`----...\`\`\`-:::::. +${c1} \`os. ${c2}.::::::::::::::-\`\`\` \` \` +${c1} +s+ ${c2}.::::::::::::::::---...--\` +${c1} -ss: ${c2}\`-::::::::::::::::-.\`\`.\`\` +${c1} /ss- ${c2}.::::::::::::-.\`\` \` +${c1} +ss: ${c2}.::::::::::::- +${c1} /sso ${c2}.::::::-::::::- +${c1} .sss/ ${c2}-:::-.\` .::::: +${c1} /sss+. ${c2}..\`${c1} \`--\` ${c2}.::: +${c1} -ossso+/:://+/-\` ${c2}.:\` +${c1} -/+ooo+/-. ${c2}\` +" diff --git a/fetch b/fetch index e1422449..662a02e7 100755 --- a/fetch +++ b/fetch @@ -638,7 +638,7 @@ getpackages () { ;; "Fedora"* | "openSUSE"* | "Red Hat"* | "CentOS"* | "Mageia"* | "PCLinuxOS"* |\ - "BLAG"*) + "BLAG"* | "Mandriva"*) packages="$(rpm -qa | wc -l)" ;; @@ -1609,7 +1609,7 @@ getascii () { c3=$(color 7) ;; - "Debian"* | "FreeBSD"* | "elementary"* | "CrunchBang"* | "Ubuntu"*) + "Debian"* | "FreeBSD"* | "Elementary"* | "CrunchBang"* | "Ubuntu"*) c1=$(color 7) c2=$(color 1) c3=$(color 3) @@ -1646,6 +1646,11 @@ getascii () { c6=$(color 4) ;; + "Mandriva"*) + c1=$(color 4) + c2=$(color 3) + ;; + "Mageia"*) c1=$(color 7) c2=$(color 6)