Add update-grub script

This commit is contained in:
2025-08-23 19:40:53 +03:00
parent f5df158bbf
commit f77aca86b8
4 changed files with 8 additions and 2 deletions
+1 -1
View File
@@ -2,4 +2,4 @@ trigger_operations: ["install", "upgrade", "remove"]
target_type: "path"
targets: ["boot/vmlinu*"]
depends: ["grub"]
run: "grub-mkconfig -o /boot/grub/grub.cfg"
run: "/usr/sbin/update-grub"
+3
View File
@@ -0,0 +1,3 @@
#!/bin/sh
grub-mkconfig -o /boot/grub/grub.cfg