From 97adb850096506edf2c754850fdcdee3b13b4dce Mon Sep 17 00:00:00 2001 From: Jonathan Hodgson Date: Tue, 16 Nov 2021 10:27:25 +0000 Subject: [PATCH] Adds pacman hook to remove the grc default aliases file --- pacman/ROOT/etc/pacman.d/hooks/rm-grc-defaults.hook | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 pacman/ROOT/etc/pacman.d/hooks/rm-grc-defaults.hook diff --git a/pacman/ROOT/etc/pacman.d/hooks/rm-grc-defaults.hook b/pacman/ROOT/etc/pacman.d/hooks/rm-grc-defaults.hook new file mode 100644 index 00000000..3cb3f149 --- /dev/null +++ b/pacman/ROOT/etc/pacman.d/hooks/rm-grc-defaults.hook @@ -0,0 +1,11 @@ +[Trigger] +Operation = Upgrade +Operation = Install +Type = Package +Target = grc + +[Action] +Description = Delete grc defaults +Depends = grc +When = PostTransaction +Exec = /usr/bin/rm /etc/profile.d/grc.sh