0.2.1: fixes Facebook UIDs > MAX_INT, reported by atilla
[hermes] / package / debian / hermes.postinst
index 411bd18..aa2d4f3 100644 (file)
@@ -4,6 +4,10 @@ set -e
 gconftool-2 -s /apps/maemo/hermes/key_app 5916f12942feea4b3247d42a84371112 --type string
 gconftool-2 -s /apps/maemo/hermes/key_secret 19f7538edd96b6870f2da7e84a6390a4 --type string
 
+# Version 0.2.1 changed type of /apps/maemo/hermes/uid
+OLD_UID=`gconftool-2 -g /apps/maemo/hermes/uid`
+[ -z "$OLD_UID" ] || gconftool-2 -s /apps/maemo/hermes/uid "$OLD_UID" --type string
+
 # Hacky fix for NB#136012
 gconftool-2 -s /desktop/gnome/url-handlers/http/command 'dbus-send --system --type=method_call --dest="com.nokia.osso_browser" --print-reply /com/nokia/osso_browser/request com.nokia.osso_browser.load_url string:"%s"' --type string