From eb6fd4ccd1fb9575f94366ba9f05636f3250caed Mon Sep 17 00:00:00 2001 From: "Eshan Roy (Eshanized)" Date: Thu, 7 Mar 2024 16:27:09 +0530 Subject: [PATCH] =?UTF-8?q?@eshanized:=20push=20via=20push.sh=20?= =?UTF-8?q?=F0=9F=8E=89=20!!!?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- etc/pacman.d/hooks/grub-mkconfig.hook | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 etc/pacman.d/hooks/grub-mkconfig.hook diff --git a/etc/pacman.d/hooks/grub-mkconfig.hook b/etc/pacman.d/hooks/grub-mkconfig.hook new file mode 100644 index 0000000..e572e32 --- /dev/null +++ b/etc/pacman.d/hooks/grub-mkconfig.hook @@ -0,0 +1,9 @@ +[Trigger] +Operation = Upgrade +Type = Package +Target = grub + +[Action] +Description = Executing grub-mkconfig ... +When = PostTransaction +Exec = /bin/sh -c "grub-mkconfig -o /boot/grub/grub.cfg" \ No newline at end of file