aboutsummaryrefslogtreecommitdiff
path: root/graphics/ristretto/doinst.sh
diff options
context:
space:
mode:
authorpp <ppkingpping{at}gmail{dot}com>2013-10-27 17:02:01 -0500
committerRobby Workman <rworkman@slackbuilds.org>2013-10-27 23:39:04 -0500
commite68d48075fec596025d18c7b5028cc7076b0f514 (patch)
tree7d38d1ed8ff210d411fa72fa85c701e5ceca2de1 /graphics/ristretto/doinst.sh
parent7eeb8596cb50161ba81034205ea7f602bd173e28 (diff)
graphics/ristretto: Added (fast and lightweight picture-viewer)
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'graphics/ristretto/doinst.sh')
-rw-r--r--graphics/ristretto/doinst.sh10
1 files changed, 10 insertions, 0 deletions
diff --git a/graphics/ristretto/doinst.sh b/graphics/ristretto/doinst.sh
new file mode 100644
index 0000000000000..1f8ff67dedb29
--- /dev/null
+++ b/graphics/ristretto/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
+