Disable "save" button after file is saved because temp file is moved
[gps-tracker] / debian / postinst
1 #! /bin/sh
2
3 # The clock might be wrong and we know that we need to update the icon
4 # cache so we just force it.
5
6 gtk-update-icon-cache -f /usr/share/icons/hicolor
7
8 MAEMO_SELECT_MENU=/usr/bin/maemo-select-menu-location
9
10 oldversion="$2"
11 if [ -z "$oldversion" ]; then
12   if [ -f $MAEMO_SELECT_MENU ]
13   then
14     maemo-select-menu-location gps-tracker.desktop
15   fi
16 fi
17
18 exit 0