Add update-grub script
This commit is contained in:
@@ -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"
|
||||
|
||||
@@ -0,0 +1,3 @@
|
||||
#!/bin/sh
|
||||
|
||||
grub-mkconfig -o /boot/grub/grub.cfg
|
||||
Reference in New Issue
Block a user