mirror of
https://github.com/KittyKatt/screenFetch.git
synced 2026-01-09 22:37:57 -05:00
#! fix
This commit is contained in:
@@ -721,7 +721,9 @@ detectdistro () {
|
||||
pardus pclinuxos redhat redstar rosa SuSe; do
|
||||
if [ -f /etc/$di-release ]; then distro=$di && break; fi
|
||||
done
|
||||
if [[ "${distro}" == "gentoo" ]]; then
|
||||
if [[ "${distro}" == "crunchbang-lsb" ]]; then
|
||||
distro == "Crunchbang"
|
||||
elif [[ "${distro}" == "gentoo" ]]; then
|
||||
grep -q "Funtoo" /etc/gentoo-release && distro="Funtoo"
|
||||
elif [[ "${distro}" == "mandrake" ]] || [[ "${distro}" == "mandriva" ]]; then
|
||||
grep -q "PCLinuxOS" /etc/${distro}-release && distro="PCLinuxOS"
|
||||
|
||||
Reference in New Issue
Block a user