KDE: Remove kde5-config support
This commit is contained in:
parent
9f76818850
commit
65193012b9
1 changed files with 3 additions and 6 deletions
9
neofetch
9
neofetch
|
@ -2840,17 +2840,14 @@ kde_config_dir() {
|
||||||
elif [[ -n "$KDE_CONFIG_DIR" ]]; then
|
elif [[ -n "$KDE_CONFIG_DIR" ]]; then
|
||||||
kde_config_dir="$KDE_CONFIG_DIR"
|
kde_config_dir="$KDE_CONFIG_DIR"
|
||||||
|
|
||||||
elif type -p kde5-config >/dev/null 2>&1; then
|
|
||||||
kde_config_dir="$(kde5-config --localprefix)"
|
|
||||||
|
|
||||||
elif type -p kde4-config >/dev/null 2>&1; then
|
elif type -p kde4-config >/dev/null 2>&1; then
|
||||||
kde_config_dir="$(kde4-config --localprefix)"
|
kde_config_dir="$(kde4-config --localprefix)"
|
||||||
|
|
||||||
elif type -p kde-config >/dev/null 2>&1; then
|
|
||||||
kde_config_dir="$(kde-config --localprefix)"
|
|
||||||
|
|
||||||
elif [[ -d "${HOME}/.kde4" ]]; then
|
elif [[ -d "${HOME}/.kde4" ]]; then
|
||||||
kde_config_dir="${HOME}/.kde4"
|
kde_config_dir="${HOME}/.kde4"
|
||||||
|
|
||||||
|
elif type -p kde-config >/dev/null 2>&1; then
|
||||||
|
kde_config_dir="$(kde-config --localprefix)"
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue