Merge pull request #66 from dylanaraps/tails_support

Tails support
This commit is contained in:
Dylan Araps 2016-02-13 19:59:53 +11:00
commit 33d0e5886b
2 changed files with 27 additions and 3 deletions

21
ascii/distro/tails Normal file
View File

@ -0,0 +1,21 @@
"\
${c1} \`\`
./yhNh
syy/Nshh \`:o/
N:dsNshh █ \`ohNMMd
N-/+Nshh \`yMMMMd
N-yhMshh yMMMMd
N-s:hshh █ yMMMMd so//.
N-oyNsyh yMMMMd d Mms.
N:hohhhd:. yMMMMd syMMM+
Nsyh+-..+y+- yMMMMd :mMM+
+hy- -ss/\`yMMMM \`+d+
:sy/. ./yNMMMMm \`\`
.+ys- \`:+hNMMMMMMy/\`
\`hNmmMMMMMMMMMMMMdo.
dMMMMMMMMMMMMMMMMMNh:
+hMMMMMMMMMMMMMMMMMmy.
-oNMMMMMMMMMMmy+.\`
\`:yNMMMds/.\`
.//\`
"

9
fetch
View File

@ -430,7 +430,9 @@ case "$os" in
distro="CRUX" distro="CRUX"
else else
distro="$(grep -h '^NAME=' /etc/*ease)" distro="$(grep -h '^NAME=' /etc/*ease)"
distro=${distro#NAME\=*} [ -z "$distro" ] && distro="$(grep -h 'TAILS_PRODUCT_NAME' /etc/*ease)"
distro=${distro/*NAME\=}
distro=${distro#\"*} distro=${distro#\"*}
distro=${distro%*\"} distro=${distro%*\"}
fi fi
@ -608,7 +610,8 @@ getpackages () {
packages="$(xbps-query -l | wc -l)" packages="$(xbps-query -l | wc -l)"
;; ;;
"Ubuntu"* | *"Mint"* | "CrunchBang"* | "Debian"* | "Kali"* | "Deepin Linux"* | "elementary"* | "Raspbian"* | "Zorin"*) "Ubuntu"* | *"Mint"* | "CrunchBang"* | "Debian"* | "Kali"* | "Deepin Linux"* |\
"elementary"* | "Raspbian"* | "Zorin"* | "Tails"*)
packages="$(dpkg --get-selections | grep -cv deinstall$)" packages="$(dpkg --get-selections | grep -cv deinstall$)"
;; ;;
@ -1627,7 +1630,7 @@ getascii () {
ascii_distro="mint" ascii_distro="mint"
;; ;;
"NetBSD"* | "Parabola"*) "NetBSD"* | "Parabola"* | "Tails"*)
c1=$(color 5) c1=$(color 5)
c2=$(color 7) c2=$(color 7)
;; ;;