workaround a problem with the harmattan gcc
[drnoksnes] / debian / drnoksnes.postinst.m4
1 #!/bin/sh
2 # postinst script for drnoksnes
3 #
4 # see: dh_installdeb(1)
5
6 set -e
7
8 case "$1" in
9     configure)
10         oldversion="$2"
11         if [ -z "$oldversion" ]; then
12                 gtk-update-icon-cache -f /usr/share/icons/hicolor
13 ifelse(eval(MAEMO_MAJOR < 5), 1, `              maemo-select-menu-location drnoksnes.desktop', `dnl')
14         fi
15     ;;
16
17     abort-upgrade|abort-remove|abort-deconfigure)
18     ;;
19
20     *)
21         echo "postinst called with unknown argument \`$1'" >&2
22         exit 1
23     ;;
24 esac
25
26 #DEBHELPER#
27
28 exit 0
29