KDE: Add support for KDE3

This commit is contained in:
Dylan Araps 2016-12-22 19:07:34 +11:00
parent 0fc2958b42
commit 8318a9c30c
1 changed files with 5 additions and 2 deletions

View File

@ -2843,11 +2843,14 @@ kde_config_dir() {
elif type -p kde4-config >/dev/null 2>&1; then
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
kde_config_dir="${HOME}/.kde4"
elif type -p kde-config >/dev/null 2>&1; then
kde_config_dir="$(kde-config --localprefix)"
elif [[ -d "${HOME}/.kde3" ]]; then
kde_config_dir="${HOME}/.kde3"
fi
}