Skip to content

Commit

Permalink
Add pacman hooks to patch firefox
Browse files Browse the repository at this point in the history
  • Loading branch information
MarcelRobitaille committed May 23, 2021
1 parent 4b3d892 commit 4802f19
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
5 changes: 5 additions & 0 deletions config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -274,6 +274,10 @@ dotfiles:
src: ./openbox/theme/
link: link

pacman_hooks:
src: ./pacman_hooks/
dst: /etc/pacman.d/hooks/

prusa_slicer:
dst: ~/.config/PrusaSlicer/
src: ./PrusaSlicer/
Expand Down Expand Up @@ -515,6 +519,7 @@ profiles:
dotfiles:
- etc
- interception
- pacman_hooks

Zeus:
include:
Expand Down
11 changes: 11 additions & 0 deletions pacman_hooks/firefox.hook
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
[Trigger]
Operation=Install
Operation=Upgrade
Operation=Remove
Type=Package
Target=firefox

[Action]
Description=Re-apply glacambre/firefox-patches
When=PostTransaction
Exec=/bin/sh -c 'perl -i -pne 's/reserved="true"/ /g' /usr/lib/firefox/browser/omni.ja && find /home/marcel/.cache/mozilla/firefox -type d -name startupCache | xargs rm -rf'

0 comments on commit 4802f19

Please sign in to comment.