aboutsummaryrefslogtreecommitdiff
path: root/graphics/fbpic/doinst.sh
diff options
context:
space:
mode:
authorK.D.Hedger <kdhedger@yahoo.co.uk>2012-02-22 11:16:46 -0200
committerErik Hanson <erik@slackbuilds.org>2012-03-29 10:17:25 -0500
commitef7143283d0a7bd8c42099cdf1d3e745fe3b7433 (patch)
tree265b569a755b0ac45ba819eecd5fdcef020760a0 /graphics/fbpic/doinst.sh
parent1a8c442955917ceff3a5a22b27ed80f5f6dc8589 (diff)
graphics/fbpic: Added (display an image on the framebuffer)
Signed-off-by: Niels Horn <niels.horn@slackbuilds.org>
Diffstat (limited to 'graphics/fbpic/doinst.sh')
-rw-r--r--graphics/fbpic/doinst.sh10
1 files changed, 10 insertions, 0 deletions
diff --git a/graphics/fbpic/doinst.sh b/graphics/fbpic/doinst.sh
new file mode 100644
index 0000000000000..1f8ff67dedb29
--- /dev/null
+++ b/graphics/fbpic/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
+