master
Daniel Napora 2018-12-20 21:58:44 +01:00
parent 4d1454d54c
commit 649d1ebe95
4 changed files with 40 additions and 0 deletions

View File

@ -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

View File

@ -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 100644
View File

@ -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 100644
View File

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