fixed erronous gconf path in postins script (thanks to hutchinsfairy)
[wifi-assistant] / package / debian / wifi-assistant.postinst
index 3fc2134..c87ba2c 100644 (file)
@@ -1,8 +1,15 @@
 #!/bin/sh
 
 set -e
-gconftool-2 -s /apps/maemo/wifi-assistant/url_to_open "http://wifi-assistant.garage.maemo.org/" --type string
-gconftool-2 -s /apps/maemo/wifi-assistant/popup "true" --type boolean
+
+# TODO: write a proper update script that moves settings from old layout to new
+
+# remove any old settings (perhaps a bad idea, especially with reinstall)
+# gconftool-2 --recursive-unset /apps/maemo/wifi-assistant
+# gconftool-2 --recursive-unset /apps/maemo/wifi_assistant
+
+# set default settings' values
+gconftool-2 -s /apps/maemo/wifi_assistant/daemon "true" --type boolean
 
 # Hacky fix for NB#136012
 gconftool-2 -s /desktop/gnome/url-handlers/http/command 'dbus-send --type=method_call --dest=com.nokia.osso_browser /com/nokia/osso_browser com.nokia.osso_browser.load_url string:"%s"' --type string