diff options
author | pp <ppkingpping{at}gmail{dot}com> | 2013-10-27 17:02:01 -0500 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2013-10-27 23:39:04 -0500 |
commit | e68d48075fec596025d18c7b5028cc7076b0f514 (patch) | |
tree | 7d38d1ed8ff210d411fa72fa85c701e5ceca2de1 /graphics/ristretto/doinst.sh | |
parent | 7eeb8596cb50161ba81034205ea7f602bd173e28 (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.sh | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/graphics/ristretto/doinst.sh b/graphics/ristretto/doinst.sh new file mode 100644 index 000000000000..1f8ff67dedb2 --- /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 + |