summarylogtreecommitdiffstats
path: root/librewolf-nightly.install
diff options
context:
space:
mode:
authorVladislav Nepogodin2021-05-10 23:35:45 +0400
committerVladislav Nepogodin2021-05-10 23:35:45 +0400
commita9b58a4cf476d27037d7fd4f3e66395ca0b7e9f5 (patch)
tree84ca33d2339ca1d8c3579a9dda62d955321b6fa2 /librewolf-nightly.install
downloadaur-a9b58a4cf476d27037d7fd4f3e66395ca0b7e9f5.tar.gz
Rename
Diffstat (limited to 'librewolf-nightly.install')
-rw-r--r--librewolf-nightly.install38
1 files changed, 38 insertions, 0 deletions
diff --git a/librewolf-nightly.install b/librewolf-nightly.install
new file mode 100644
index 000000000000..a55ff0b204fa
--- /dev/null
+++ b/librewolf-nightly.install
@@ -0,0 +1,38 @@
+msg() {
+ ALL_OFF="\e[1;0m"
+ BOLD="\e[1;1m"
+ RED="${BOLD}\e[1;31m"
+ local mesg=$1; shift
+ printf "${RED}==>${ALL_OFF}${BOLD} ${mesg}${ALL_OFF}" "$@" >&2
+}
+
+post_upgrade() {
+ msg "Remember to check for changes in /usr/lib/librewolf/librewolf.cfg.pacnew"
+ echo ""
+ msg "as those will currently not automatically overwrite your existing librewolf.cfg"
+ echo ""
+ msg "We would encourage you to migrate your own changes to the new overrides file"
+ echo ""
+ msg "at ~/.librewolf/librewolf.overrides.cfg instead, so making changes directly"
+ echo ""
+ msg "in your librewolf.cfg can be deprecated in favour of this solution."
+ echo ""
+ msg "The automatic backup of the librewolf.cfg will probably dropped in a few releases"
+ echo ""
+ msg "to ensure everyone receives all upstream cfg changes without any manual intervention"
+ echo ""
+ msg "like having to check the .pacnew file."
+ echo ""
+ msg "Check out https://gitlab.com/librewolf-community/settings/-/merge_requests/13"
+ echo ""
+ msg "for more information on this."
+ echo ""
+ msg "Included are profiles for Firejail and profile-sync-daemon."
+ echo ""
+ msg "To use psd add librewolf to ~/.config/psd/psd.conf."
+ echo ""
+}
+
+post_install() {
+ post_upgrade
+}