From a1cdba642147a6ab5b025186fe777413ed66513e Mon Sep 17 00:00:00 2001 From: Mavridis Philippe Date: Sun, 28 Mar 2021 17:06:48 +0300 Subject: Added section related to resolution of issue TDE/tdebase#1. Signed-off-by: Mavridis Philippe (cherry picked from commit ab9ca7de7ffb4b9becf627764498354096d21588) --- r14-xdg-update | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) 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 -- cgit v1.2.1