summaryrefslogtreecommitdiff
path: root/graphics/kipi-plugins/doinst.sh
diff options
context:
space:
mode:
authorFrank Caraballo <fecaraballo{at}gmail{dot}com>2010-05-13 00:28:02 +0200
committerMichiel van Wessem <michiel@slackbuilds.org>2010-05-13 00:28:02 +0200
commit3db1ea440a61bb6db6013c34a9aa360bce4d005a (patch)
treea8391ac109e02ca34f516294d41d2e4bb16b2772 /graphics/kipi-plugins/doinst.sh
parentbe7f0f78881b770542523b0fb1b898f3c29bbe78 (diff)
downloadslackbuilds-3db1ea440a61bb6db6013c34a9aa360bce4d005a.tar.gz
graphics/kipi-plugins: Updated for version 1.0.0
Diffstat (limited to 'graphics/kipi-plugins/doinst.sh')
-rw-r--r--graphics/kipi-plugins/doinst.sh10
1 files changed, 10 insertions, 0 deletions
diff --git a/graphics/kipi-plugins/doinst.sh b/graphics/kipi-plugins/doinst.sh
new file mode 100644
index 0000000000..36904a5040
--- /dev/null
+++ b/graphics/kipi-plugins/doinst.sh
@@ -0,0 +1,10 @@
+if [ -x /usr/bin/update-desktop-database ]; then
+ /usr/bin/update-desktop-database -q usr/share/applications/kde4 >/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
+