fixed erronous gconf path in postins script (thanks to hutchinsfairy) master
authorFredrik Wendt <fredrik@wendt.se>
Thu, 6 Jan 2011 21:39:09 +0000 (22:39 +0100)
committerFredrik Wendt <fredrik@wendt.se>
Thu, 6 Jan 2011 21:39:09 +0000 (22:39 +0100)
package/debian/wifi-assistant.postinst

index afd331c..c87ba2c 100644 (file)
@@ -2,8 +2,14 @@
 
 set -e
 
+# 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
+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