From 438c9f38806d5d7d6d602d367aee6c3815a57ac1 Mon Sep 17 00:00:00 2001 From: "Eshan Roy (Eshanized)" Date: Thu, 7 Mar 2024 16:30:28 +0530 Subject: [PATCH] $COMMIT --- etc/pacman.d/hooks/kernel-linux.hook | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 etc/pacman.d/hooks/kernel-linux.hook diff --git a/etc/pacman.d/hooks/kernel-linux.hook b/etc/pacman.d/hooks/kernel-linux.hook new file mode 100644 index 0000000..e773023 --- /dev/null +++ b/etc/pacman.d/hooks/kernel-linux.hook @@ -0,0 +1,28 @@ +[Trigger] +Operation = Install +Operation = Upgrade +Operation = Remove +Type = Package +Target = linux +Target = linux-next* +Target = linux-new* +Target = linux-amd* +Target = linux-lts* +Target = linux-zen* +Target = linux-rt* +Target = linux-hardened* +Target = linux-xanmod* +Target = linux-tkg* +Target = linux-raven* +Target = linux-slim* +Target = linux-test* +Target = linux-main* +Target = linux-dctxmei* +Target = linux-froidzen* +Target = linux-jwrdegoede* + +[Action] +Depends = grub +Description = Pacman hook to update-grub automatically +When = PostTransaction +Exec = /bin/sh -c "grub-mkconfig -o /boot/grub/grub.cfg"