diff options
author | Giuseppe Scalzi <giuseppe@osgate.org> | 2011-10-21 16:50:11 -0200 |
---|---|---|
committer | Niels Horn <niels.horn@slackbuilds.org> | 2011-10-21 16:50:11 -0200 |
commit | 299cf88d270e872853ffd224e8c62335ec71e874 (patch) | |
tree | f9e4eed683ff50f3ab24ae46c8757f2ebfe6bba6 /desktop/anki/doinst.sh | |
parent | a7cde684cf1810436bce10d2702250f4845bcdd6 (diff) | |
download | slackbuilds-299cf88d270e872853ffd224e8c62335ec71e874.tar.gz |
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.sh | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/desktop/anki/doinst.sh b/desktop/anki/doinst.sh new file mode 100644 index 0000000000..527d5759d4 --- /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 |