diff --git a/firefox-kde-post.hook b/firefox-kde-post.hook new file mode 100644 index 0000000..282bd76 --- /dev/null +++ b/firefox-kde-post.hook @@ -0,0 +1,10 @@ +[Trigger] +Type = Package +Operation = Install +Operation = Upgrade +Target = firefox-kde-opensuse + +[Action] +Description = Copy Firefox Distribution Settings +When = PostTransaction +Exec = /usr/bin/cp -f /etc/manjaro-firefox-kde.ini /usr/lib/firefox/distribution/distribution.ini \ No newline at end of file diff --git a/firefox-kde-pre.hook b/firefox-kde-pre.hook new file mode 100644 index 0000000..a0ee6bc --- /dev/null +++ b/firefox-kde-pre.hook @@ -0,0 +1,10 @@ +[Trigger] +Type = Package +Operation = Install +Operation = Upgrade +Target = firefox-kde-opensuse + +[Action] +Description = Remove Firefox Distribution Settings +When = PreTransaction +Exec = /usr/bin/rm -f /usr/lib/firefox/distribution/distribution.ini{,.mjo} \ No newline at end of file diff --git a/firefox-post.hook b/firefox-post.hook new file mode 100644 index 0000000..026986d --- /dev/null +++ b/firefox-post.hook @@ -0,0 +1,10 @@ +[Trigger] +Type = Package +Operation = Install +Operation = Upgrade +Target = firefox + +[Action] +Description = Copy Firefox Distribution Settings +When = PostTransaction +Exec = /usr/bin/cp -f /etc/manjaro-firefox.ini /usr/lib/firefox/distribution/distribution.ini \ No newline at end of file diff --git a/firefox-pre.hook b/firefox-pre.hook new file mode 100644 index 0000000..a67f546 --- /dev/null +++ b/firefox-pre.hook @@ -0,0 +1,10 @@ +[Trigger] +Type = Package +Operation = Install +Operation = Upgrade +Target = firefox + +[Action] +Description = Remove Firefox Distribution Settings +When = PreTransaction +Exec = /usr/bin/rm -f /usr/lib/firefox/distribution/distribution.ini{,.mjo} \ No newline at end of file