mirror of
https://github.com/dylanaraps/neofetch.git
synced 2025-12-24 12:32:32 +00:00
Added tails support
This commit is contained in:
5
fetch
5
fetch
@@ -430,6 +430,8 @@ case "$os" in
|
||||
distro="CRUX"
|
||||
else
|
||||
distro="$(grep -h '^NAME=' /etc/*ease)"
|
||||
[ -z "$distro" ] && distro="$(grep -h 'TAILS_PRODUCT_NAME' /etc/*ease)"
|
||||
|
||||
distro=${distro#NAME\=*}
|
||||
distro=${distro#\"*}
|
||||
distro=${distro%*\"}
|
||||
@@ -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$)"
|
||||
;;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user