From 165deb2aa6d02b38c75d7f19c353aec72748f07b Mon Sep 17 00:00:00 2001 From: Heinz Wiesinger Date: Mon, 7 Nov 2011 06:39:00 -0200 Subject: misc/krename: Updated for version 4.0.7. Signed-off-by: Niels Horn --- misc/krename/doinst.sh | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'misc/krename/doinst.sh') diff --git a/misc/krename/doinst.sh b/misc/krename/doinst.sh index 30eb690936b52..6e328dd2a6e1a 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 + -- cgit v1.2.3