Commit 0f99be6a authored by intrigeri's avatar intrigeri

Delete supposedly temporary config file we instructed users to create.

On #15692 we instruct users to create preferences/0000tails.js, with the intent
that it would not be persistent because until 3.8 we have code that deletes that
file on persistence activation. But as part of the fix for #15693, I've removed
the code that deletes that file on persistence activation, which was not
necessary to fix #15693.

So a user who follows these instructions during their last Tails 3.8 session
with persistence enabled (before upgrading to 3.9) will have that file left in
persistence once they upgrade to 3.9… and then they'll be stuck forever with an
obsolete value for extensions.enigmail.configuredVersion. To avoid that, I'm
hereby re-adding the code that deletes this obsolete file.
parent 9eb2a189
......@@ -437,6 +437,14 @@ activate_volumes ()
fi
fi
# Get rid of any Enigmail configuredVersion that we previously used
# to set in a way that would persistently override the value maintained
# by Enigmail itself (#12680, #15693). We stopped writing this pref
# there a long time ago but recently instructed users to reintroduce
# this problem as a workaround (#15692).
tb_profile="$(dirname "${conf}")/thunderbird/profile.default"
rm -f "${tb_profile}/preferences/0000tails.js"
for vol in ${open_volumes}
do
if grep -qe "^${vol}\>" /proc/mounts
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment