KDE: Add support for KDE3

This commit is contained in:
Dylan Araps 2016-12-22 19:07:34 +11:00
parent 0fc2958b42
commit 8318a9c30c

View file

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