aboutsummaryrefslogtreecommitdiff
path: root/desktop/anki/doinst.sh
diff options
context:
space:
mode:
Diffstat (limited to 'desktop/anki/doinst.sh')
-rw-r--r--desktop/anki/doinst.sh10
1 files changed, 2 insertions, 8 deletions
diff --git a/desktop/anki/doinst.sh b/desktop/anki/doinst.sh
index d33eac071006..9a8ded3c6034 100644
--- a/desktop/anki/doinst.sh
+++ b/desktop/anki/doinst.sh
@@ -1,13 +1,7 @@
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 -f usr/share/icons/hicolor >/dev/null 2>&1
- fi
+ /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
+ /usr/bin/update-mime-database usr/share/mime >/dev/null 2>&1
fi