summaryrefslogtreecommitdiffstats
path: root/graphics/photoprint/doinst.sh
diff options
context:
space:
mode:
author Peter Sarkoci <peter.sarkoci@gmail.com>2010-05-12 23:29:44 +0200
committer Robby Workman <rworkman@slackbuilds.org>2010-05-12 23:29:44 +0200
commitffeb6e8ee07525c4cf26d1a82e072c659bb33a9a (patch)
tree66d9f7f8ac873320f688d5dbc35df793855926ef /graphics/photoprint/doinst.sh
parentb524fa5911ae6915f6a6db16b572a38e2cc96280 (diff)
downloadslackbuilds-ffeb6e8ee07525c4cf26d1a82e072c659bb33a9a.tar.gz
slackbuilds-ffeb6e8ee07525c4cf26d1a82e072c659bb33a9a.tar.xz
graphics/photoprint: Added to 12.2 repository
Diffstat (limited to 'graphics/photoprint/doinst.sh')
-rw-r--r--graphics/photoprint/doinst.sh10
1 files changed, 10 insertions, 0 deletions
diff --git a/graphics/photoprint/doinst.sh b/graphics/photoprint/doinst.sh
new file mode 100644
index 00000000000..1f8ff67dedb
--- /dev/null
+++ b/graphics/photoprint/doinst.sh
@@ -0,0 +1,10 @@
+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
+