aboutsummaryrefslogtreecommitdiff
path: root/graphics/photivo/doinst.sh
diff options
context:
space:
mode:
authorGiorgio Peron <giorgio.peron@gmail.com>2013-01-12 17:47:17 +0100
committerdsomero <xgizzmo@slackbuilds.org>2013-01-20 09:03:01 -0500
commitfb948c0ed12cda15f62d076b255068a7f8c4e36a (patch)
treed3ac5f6537560781e78a8a77beb31d1038ccb35b /graphics/photivo/doinst.sh
parent1c054c479ebb34e6e5ed0ad94c88c4bb6804a659 (diff)
graphics/photivo: Added (photo processor).
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'graphics/photivo/doinst.sh')
-rw-r--r--graphics/photivo/doinst.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/graphics/photivo/doinst.sh b/graphics/photivo/doinst.sh
new file mode 100644
index 0000000000000..3e5691a052b5b
--- /dev/null
+++ b/graphics/photivo/doinst.sh
@@ -0,0 +1,9 @@
+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