summaryrefslogtreecommitdiff
path: root/graphics/baires/doinst.sh
diff options
context:
space:
mode:
authorBojan Popovic <bocke@slackware-srbija.org>2012-12-09 11:00:40 -0500
committerdsomero <xgizzmo@slackbuilds.org>2012-12-11 16:21:57 -0500
commite3530f8b395f72b8d7dea8bc1e7ea40b04d5d0e7 (patch)
treee2daf5410905e0fda1e23aa11efb6434fbbee167 /graphics/baires/doinst.sh
parentd884fa6c2e5bbdda2ddb51fc1f1d03d5dcce6601 (diff)
downloadslackbuilds-e3530f8b395f72b8d7dea8bc1e7ea40b04d5d0e7.tar.gz
graphics/baires: Added (Batch image resizer)
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
Diffstat (limited to 'graphics/baires/doinst.sh')
-rw-r--r--graphics/baires/doinst.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/graphics/baires/doinst.sh b/graphics/baires/doinst.sh
new file mode 100644
index 0000000000..3e5691a052
--- /dev/null
+++ b/graphics/baires/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