summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMavridis Philippe <mavridisf@gmail.com>2021-03-28 17:06:48 +0300
committerSlávek Banko <slavek.banko@axis.cz>2021-03-29 19:46:14 +0200
commita1cdba642147a6ab5b025186fe777413ed66513e (patch)
tree739973041cb2b663649565e1e6e747d78befd4d1
parent76e9eb51f3b8bcd8d9ab570f7f49c5458a57e98c (diff)
downloadtdebase-a1cdba642147a6ab5b025186fe777413ed66513e.tar.gz
tdebase-a1cdba642147a6ab5b025186fe777413ed66513e.zip
Added section related to resolution of issue TDE/tdebase#1.
Signed-off-by: Mavridis Philippe <mavridisf@gmail.com> (cherry picked from commit ab9ca7de7ffb4b9becf627764498354096d21588)
-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