aboutsummaryrefslogtreecommitdiffstats
path: root/community/firefox-esr/firefox-esr.post-upgrade
diff options
context:
space:
mode:
Diffstat (limited to 'community/firefox-esr/firefox-esr.post-upgrade')
-rw-r--r--community/firefox-esr/firefox-esr.post-upgrade18
1 files changed, 18 insertions, 0 deletions
diff --git a/community/firefox-esr/firefox-esr.post-upgrade b/community/firefox-esr/firefox-esr.post-upgrade
new file mode 100644
index 00000000000..aaec4e4ac62
--- /dev/null
+++ b/community/firefox-esr/firefox-esr.post-upgrade
@@ -0,0 +1,18 @@
+#!/bin/sh
+
+ver_old=$2
+
+if [ "$(apk version -t "$ver_old" '102.2.0-r4')" = '<' ]; then
+ # renamed appid, needs profile migration
+ cat 1>&2 <<-EOF
+ *
+ * firefox-esr now has a different appid, so you will see a default new
+ * profile upon starting it. to use your old profile again, you have to
+ * first migrate it using 'firefox-esr --ProfileManager'. select the
+ * previous one (if you didn't rename it, it's probably named
+ * default-something) to migrate it.
+ *
+ EOF
+fi
+
+exit 0