summaryrefslogtreecommitdiff
path: root/development/poedit/doinst.sh
diff options
context:
space:
mode:
authorNiklas Nille Åkerström <nille.kungen[AT]gmail.com>2010-05-13 00:25:13 +0200
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-13 00:25:13 +0200
commit931bae2df4825ada85f7e7c43554fccd2b4093fb (patch)
treec779b2fa9f9312b342a2a10b1befd6a1d81a073e /development/poedit/doinst.sh
parent8e9f1225f7adb13eb8d4fda13d3f4b10f00f4330 (diff)
downloadslackbuilds-931bae2df4825ada85f7e7c43554fccd2b4093fb.tar.gz
development/poedit: Updated for version 1.4.2
Diffstat (limited to 'development/poedit/doinst.sh')
-rw-r--r--development/poedit/doinst.sh9
1 files changed, 6 insertions, 3 deletions
diff --git a/development/poedit/doinst.sh b/development/poedit/doinst.sh
index 0acbacff73..1f8ff67ded 100644
--- a/development/poedit/doinst.sh
+++ b/development/poedit/doinst.sh
@@ -1,7 +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 [ -x /usr/bin/update-mime-database ]; then
- /usr/bin/update-mime-database usr/share/mime >/dev/null 2>&1
+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
+