Fix Some Bugs
This commit is contained in:
parent
62952a1f56
commit
7e176284a7
7
neofetch
7
neofetch
|
@ -102,8 +102,10 @@ get_distro() {
|
|||
|
||||
elif type -p tazpkg >/dev/null; then
|
||||
distro="SliTaz $(< /etc/slitaz-release)"
|
||||
|
||||
elif type -p kpm > /dev/null; then
|
||||
distro="KSLinux"
|
||||
|
||||
elif [[ -d "/system/app/" && -d "/system/priv-app" ]]; then
|
||||
distro="Android $(getprop ro.build.version.release)"
|
||||
|
||||
|
@ -435,6 +437,7 @@ get_packages() {
|
|||
|
||||
type -p dpkg >/dev/null && \
|
||||
packages="$((packages+=$(dpkg --get-selections | grep -cv deinstall$)))"
|
||||
|
||||
type -p kpm >/dev/null && \
|
||||
packages="$((packages+=$(kpm --get-selections | grep -cv deinstall$)))"
|
||||
|
||||
|
@ -3077,7 +3080,7 @@ get_distro_colors() {
|
|||
|
||||
"KSLinux"*)
|
||||
set_colors 4 7 1
|
||||
ascii_file="ks"
|
||||
ascii_file="kslinux"
|
||||
;;
|
||||
|
||||
"Kubuntu"*)
|
||||
|
@ -3385,7 +3388,7 @@ get_distro_colors() {
|
|||
ascii_file="void"
|
||||
;;
|
||||
|
||||
*"[Windows 10]"* | *"on Windows 10"* | "Windows 8"* | "Windows 10"*)
|
||||
*"[Windows 10]"* | *"on Windows 10"* | "Windows 8"* | "Windows 10"* | "windows10" | "windows8" )
|
||||
set_colors 6 7
|
||||
ascii_file="windows10"
|
||||
;;
|
||||
|
|
Reference in New Issue