summaryrefslogtreecommitdiff
path: root/misc/krename/doinst.sh
diff options
context:
space:
mode:
Diffstat (limited to 'misc/krename/doinst.sh')
-rw-r--r--misc/krename/doinst.sh10
1 files changed, 10 insertions, 0 deletions
diff --git a/misc/krename/doinst.sh b/misc/krename/doinst.sh
index 30eb690936..6e328dd2a6 100644
--- a/misc/krename/doinst.sh
+++ b/misc/krename/doinst.sh
@@ -1,6 +1,16 @@
+if [ -x /usr/bin/update-desktop-database ]; then
+ /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
+fi
+
if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then
if [ -x /usr/bin/gtk-update-icon-cache ]; then
/usr/bin/gtk-update-icon-cache usr/share/icons/hicolor >/dev/null 2>&1
fi
fi
+if [ -e usr/share/icons/locolor/icon-theme.cache ]; then
+ if [ -x /usr/bin/gtk-update-icon-cache ]; then
+ /usr/bin/gtk-update-icon-cache usr/share/icons/locolor >/dev/null 2>&1
+ fi
+fi
+