a session upstart job that flushes the cache after upgrades should be shipped 
(with lxc-android-config or ubuntu-touch-session)
i.e call it /usr/share/upstart/sessions/clear-qml-caches.conf with the 
following content (untested, but should work):


# This allows to flush all app caches when
# a new image version arrives

start on :sys:boot-hooks WHEN=new-version

pre-start script
    # clear all QML app caches on image upgrade
    CACHEDIR="$HOME/.cache/QML"
    [ -e $CACHEDIR ] && rm -rf  $CACHEDIR/*
end script

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1380120

Title:
  Manage Scopes -> All Is Unusable

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/unity8/+bug/1380120/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to