aboutsummaryrefslogtreecommitdiff
path: root/desktop/anki/doinst.sh
diff options
context:
space:
mode:
authorGiuseppe Scalzi <giuseppe@osgate.org>2011-10-21 16:50:11 -0200
committerNiels Horn <niels.horn@slackbuilds.org>2011-10-21 16:50:11 -0200
commit299cf88d270e872853ffd224e8c62335ec71e874 (patch)
treef9e4eed683ff50f3ab24ae46c8757f2ebfe6bba6 /desktop/anki/doinst.sh
parenta7cde684cf1810436bce10d2702250f4845bcdd6 (diff)
desktop/anki: Added (friendly, intelligent flashcards)
Signed-off-by: Niels Horn <niels.horn@slackbuilds.org>
Diffstat (limited to 'desktop/anki/doinst.sh')
-rw-r--r--desktop/anki/doinst.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/desktop/anki/doinst.sh b/desktop/anki/doinst.sh
new file mode 100644
index 000000000000..527d5759d402
--- /dev/null
+++ b/desktop/anki/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