Browse Source

hooks

master
Daniel Napora 3 years ago
parent
commit
649d1ebe95
  1. 10
      firefox-kde-post.hook
  2. 10
      firefox-kde-pre.hook
  3. 10
      firefox-post.hook
  4. 10
      firefox-pre.hook

10
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

10
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}

10
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

10
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}
Loading…
Cancel
Save