diff options
-rw-r--r-- | r14-xdg-update | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/r14-xdg-update b/r14-xdg-update index 69f599fad..fc7b2c20f 100644 --- a/r14-xdg-update +++ b/r14-xdg-update @@ -3,7 +3,7 @@ # A script to perform R14.0.0 XDG compliance updates. SCRIPT_NAME="$(basename -- "$0")" -SCRIPT_VERSION=202004080 +SCRIPT_VERSION=202103280 # This script should be needed to run only once, but corner cases # and file/directory permissions could cause incomplete updates. @@ -1009,6 +1009,14 @@ if [ "$R14_VERSION" -lt "201811010" ]; then fi fi +# Remove Konqueror's icon cache entry for / (issue TDE/tdebase#1) +if [ "$R14_VERSION" -lt "202103280" ]; then + if [ "`grep \"\([=,]\)/,[^,\n]*[,]*\" ${TDEHOME}/share/config/konq_history`" ]; then + sed -i "s|\([=,]\)/,[^,\n]*[,]*|\1|" ${TDEHOME}/share/config/konq_history + Log " Removed icon cache entry for root directory (Gitea issue TDE/tdebase#1)" + fi +fi + # Perform some nominal update validations. # First clean house from any previous failures. if [ "$CACHE_DIR" = "" ]; then |