X-Git-Url: https://vcs.maemo.org/git/?a=blobdiff_plain;f=debian%2Fqstardict.postinst;fp=debian%2Fqstardict.postinst;h=2cf7aa710835df8b0625e5e4d8b00f78626a750e;hb=9a5889da7d7a5d0ab02f2cdc4a7cdcbc94ba6bf3;hp=0000000000000000000000000000000000000000;hpb=d5b691e26ea1533d69cfdfa4f54b12acbeb3689d;p=qstardict diff --git a/debian/qstardict.postinst b/debian/qstardict.postinst new file mode 100755 index 0000000..2cf7aa7 --- /dev/null +++ b/debian/qstardict.postinst @@ -0,0 +1,11 @@ +#!/bin/sh + +echo "Updating GTK's icon cache" +gtk-update-icon-cache -f /usr/share/icons/hicolor + +oldversion="$2" +if [ -z "$oldversion" ]; then + if ! maemo-select-menu-location qstardict.desktop; then + echo "Couldn't launch maemo-select-menu-location" + fi +fi