Skip to content

Commit 4802f19

Browse files
Add pacman hooks to patch firefox
1 parent 4b3d892 commit 4802f19

File tree

2 files changed

+16
-0
lines changed

2 files changed

+16
-0
lines changed

config.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -274,6 +274,10 @@ dotfiles:
274274
src: ./openbox/theme/
275275
link: link
276276

277+
pacman_hooks:
278+
src: ./pacman_hooks/
279+
dst: /etc/pacman.d/hooks/
280+
277281
prusa_slicer:
278282
dst: ~/.config/PrusaSlicer/
279283
src: ./PrusaSlicer/
@@ -515,6 +519,7 @@ profiles:
515519
dotfiles:
516520
- etc
517521
- interception
522+
- pacman_hooks
518523

519524
Zeus:
520525
include:

pacman_hooks/firefox.hook

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
[Trigger]
2+
Operation=Install
3+
Operation=Upgrade
4+
Operation=Remove
5+
Type=Package
6+
Target=firefox
7+
8+
[Action]
9+
Description=Re-apply glacambre/firefox-patches
10+
When=PostTransaction
11+
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 commit comments

Comments
 (0)