aboutsummaryrefslogtreecommitdiff
path: root/office/leafpad/doinst.sh
diff options
context:
space:
mode:
authorGrigorios Bouzakis <grbzks@xsmail.com>2010-05-13 00:39:18 +0200
committerRobby Workman <rworkman@slackbuilds.org>2010-05-13 00:39:18 +0200
commit8389a1185f33cc399d7df58bd8788c92af265e5a (patch)
treea3613d79bbc23d4ff07279232b28b819995e9d47 /office/leafpad/doinst.sh
parenta9a9af5901f3f47f008a01476b47a11c781d1c0d (diff)
office/leafpad: Updated for version 0.8.17
Diffstat (limited to 'office/leafpad/doinst.sh')
-rw-r--r--office/leafpad/doinst.sh9
1 files changed, 8 insertions, 1 deletions
diff --git a/office/leafpad/doinst.sh b/office/leafpad/doinst.sh
index f39d8d4dfa88..1f8ff67dedb2 100644
--- a/office/leafpad/doinst.sh
+++ b/office/leafpad/doinst.sh
@@ -1,3 +1,10 @@
if [ -x /usr/bin/update-desktop-database ]; then
- /usr/bin/update-desktop-database -q usr/share/applications
+ /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
+