summaryrefslogtreecommitdiff
path: root/graphics/pinta/doinst.sh
diff options
context:
space:
mode:
authorBinh Nguyen <binhnguyen@fastmail.fm>2010-07-11 02:11:29 -0500
committerRobby Workman <rworkman@slackbuilds.org>2010-07-11 02:11:29 -0500
commit8dff6f4dea853e8ee398a194fdef82a47ce03a53 (patch)
tree0c7cff22b9a5c2a7249b81d67c874f6eaf2f3e2e /graphics/pinta/doinst.sh
parent316559c823a5e2594d6406e9039e28951a65e4dd (diff)
downloadslackbuilds-8dff6f4dea853e8ee398a194fdef82a47ce03a53.tar.gz
graphics/pinta: Added (simple image editor, a Paint.NET clone)
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'graphics/pinta/doinst.sh')
-rw-r--r--graphics/pinta/doinst.sh10
1 files changed, 10 insertions, 0 deletions
diff --git a/graphics/pinta/doinst.sh b/graphics/pinta/doinst.sh
new file mode 100644
index 0000000000..1f8ff67ded
--- /dev/null
+++ b/graphics/pinta/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
+