summaryrefslogtreecommitdiff
path: root/academic/flashqard/doinst.sh
diff options
context:
space:
mode:
authorariarat <ariarat@gmail.com>2010-06-16 03:56:12 -0500
committerRobby Workman <rworkman@slackbuilds.org>2010-06-16 03:56:12 -0500
commit1fe9c3c5654f4c4014842110339360446b7293e0 (patch)
tree4eaaf608033e3c919d6d68377aadf8fcbb373ffe /academic/flashqard/doinst.sh
parent20d8d74773fe578e25bc5d7e25ae1a30fee5211c (diff)
downloadslackbuilds-1fe9c3c5654f4c4014842110339360446b7293e0.tar.gz
academic/flashqard: Added (FlashQard educational software)
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'academic/flashqard/doinst.sh')
-rw-r--r--academic/flashqard/doinst.sh10
1 files changed, 10 insertions, 0 deletions
diff --git a/academic/flashqard/doinst.sh b/academic/flashqard/doinst.sh
new file mode 100644
index 0000000000..1f8ff67ded
--- /dev/null
+++ b/academic/flashqard/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
+