On Fremantle, hildon-control-panel creates a screenshot of itself, which
is displayed during startup to create the illusion of a faster startup
time (sigh). Of course, this cache doesn't appear to be regenerated
when a control panel icon is removed
(https://bugs.maemo.org/show_bug.cgi?id=9512). Wonderful.
Work around by removing the cached image in the postrm.
# Kill off any running browser-switchboard to make sure that the
# default browser gets launched
kill_old_proxies
# Kill off any running browser-switchboard to make sure that the
# default browser gets launched
kill_old_proxies
+
+ # Clear hildon-control-panel's cached screenshot of itself
+ # Workaround for https://bugs.maemo.org/show_bug.cgi?id=9512
+ if [ -f /home/user/.cache/launch/com.nokia.controlpanel.pvr ]; then
+ rm -f /home/user/.cache/launch/com.nokia.controlpanel.pvr
+ fi
;;
upgrade|disappear)
# Kill off any running browser-switchboard to make sure that the new
;;
upgrade|disappear)
# Kill off any running browser-switchboard to make sure that the new