summaryrefslogtreecommitdiff
path: root/graphics/photoprint/doinst.sh
diff options
context:
space:
mode:
authorDavid Woodfall <dave@dawoodfall.net>2013-10-27 00:55:47 -0500
committerRobby Workman <rworkman@slackbuilds.org>2013-10-27 23:39:00 -0500
commit7feb96d9880c81e55439b46c272ea8565b1f3835 (patch)
treed6224406e319f9b55e7fdee26f569e18fb03bf36 /graphics/photoprint/doinst.sh
parent4ba102dd2af3852add26129fe67fc8c3fc48904f (diff)
downloadslackbuilds-7feb96d9880c81e55439b46c272ea8565b1f3835.tar.gz
graphics/photoprint: Added (digital photograph/image printer)
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
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 0000000000..1f8ff67ded
--- /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
+