X-Git-Url: http://git.maemo.org/git/?p=wifi-assistant;a=blobdiff_plain;f=package%2Fdebian%2Fwifi-assistant.postinst;h=c87ba2c73f9181efb9ae4c10a64dd9cc18dfa543;hp=afd331c82ef1e1718016801edadb5c2cdf2f7bab;hb=HEAD;hpb=03dfbaa0a897022f0d6751a6f1e39d709f3e78d4 diff --git a/package/debian/wifi-assistant.postinst b/package/debian/wifi-assistant.postinst index afd331c..c87ba2c 100644 --- a/package/debian/wifi-assistant.postinst +++ b/package/debian/wifi-assistant.postinst @@ -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