summaryrefslogtreecommitdiffstats
path: root/r14-xdg-update
diff options
context:
space:
mode:
authorMavridis Philippe <mavridisf@gmail.com>2021-03-28 17:06:48 +0300
committerMavridis Philippe <mavridisf@gmail.com>2021-03-29 19:08:48 +0300
commitab9ca7de7ffb4b9becf627764498354096d21588 (patch)
tree64251eaf2eed7fde548dc6b6001f9cdd73257807 /r14-xdg-update
parente27c8da2d652912784bd69d9650bd2b9b4b6d4f2 (diff)
downloadtdebase-ab9ca7de7ffb4b9becf627764498354096d21588.tar.gz
tdebase-ab9ca7de7ffb4b9becf627764498354096d21588.zip
Added section related to resolution of issue TDE/tdebase#1.
Signed-off-by: Mavridis Philippe <mavridisf@gmail.com>
Diffstat (limited to 'r14-xdg-update')
-rw-r--r--r14-xdg-update10
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