summaryrefslogtreecommitdiff
path: root/academic/geda-gaf/doinst.sh
diff options
context:
space:
mode:
authorStephen Van Berg <stephen_van_berg@earlicker.com>2010-05-13 00:57:15 +0200
committerRobby Workman <rworkman@slackbuilds.org>2010-05-13 00:57:15 +0200
commitef4ebfec780485c2afa435102cf777d2491b5800 (patch)
tree9474c0133ac5b933b6985f0dd0fd0c1188c959c5 /academic/geda-gaf/doinst.sh
parent47733e170ea03f9e0f8bd8694552254b32ea444e (diff)
downloadslackbuilds-ef4ebfec780485c2afa435102cf777d2491b5800.tar.gz
academic/geda-gaf: Added to 13.0 repository
Diffstat (limited to 'academic/geda-gaf/doinst.sh')
-rw-r--r--academic/geda-gaf/doinst.sh14
1 files changed, 14 insertions, 0 deletions
diff --git a/academic/geda-gaf/doinst.sh b/academic/geda-gaf/doinst.sh
new file mode 100644
index 0000000000..9830478e8c
--- /dev/null
+++ b/academic/geda-gaf/doinst.sh
@@ -0,0 +1,14 @@
+if [ -x /usr/bin/update-desktop-database ]; then
+ /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
+fi
+
+if [ -x /usr/bin/update-mime-database ]; then
+ /usr/bin/update-mime-database usr/share/mime >/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
+