diff --git a/ascii/distro/tails b/ascii/distro/tails new file mode 100644 index 00000000..49729f10 --- /dev/null +++ b/ascii/distro/tails @@ -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/.\` + .//\` +" diff --git a/fetch b/fetch index f7aa4b55..98996308 100755 --- a/fetch +++ b/fetch @@ -430,7 +430,9 @@ case "$os" in distro="CRUX" else 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%*\"} fi @@ -608,7 +610,8 @@ getpackages () { 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$)" ;; @@ -1627,7 +1630,7 @@ getascii () { ascii_distro="mint" ;; - "NetBSD"* | "Parabola"*) + "NetBSD"* | "Parabola"* | "Tails"*) c1=$(color 5) c2=$(color 7) ;;