slackbuilds_ponce/desktop/anki/doinst.sh
Giuseppe Scalzi 299cf88d27 desktop/anki: Added (friendly, intelligent flashcards)
Signed-off-by: Niels Horn <niels.horn@slackbuilds.org>
2011-10-21 16:50:11 -02:00

9 lines
314 B
Bash

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