diff options
author | GiacoLenzo2109 | 2021-02-25 15:57:36 +0100 |
---|---|---|
committer | GiacoLenzo2109 | 2021-02-25 15:57:36 +0100 |
commit | f150e01d1a1d477525108f4e9a8075b8674b07f0 (patch) | |
tree | 414a6317584323e1ee6b8a2f0c29ec64261b7f40 /grub-fix-initrd-generation.hook | |
download | aur-f150e01d1a1d477525108f4e9a8075b8674b07f0.tar.gz |
Upload
Diffstat (limited to 'grub-fix-initrd-generation.hook')
-rw-r--r-- | grub-fix-initrd-generation.hook | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/grub-fix-initrd-generation.hook b/grub-fix-initrd-generation.hook new file mode 100644 index 000000000000..8ca6bf0fe115 --- /dev/null +++ b/grub-fix-initrd-generation.hook @@ -0,0 +1,14 @@ +[Trigger] +Operation = Upgrade +Operation = Install +Operation = Remove +Type = Package +Target = grub +Target = os-prober + +[Action] +Description = Fix 'grub' and 'os-prober' after upgrading either of them. +When = PostTransaction +Depends = grub +Depends = os-prober +Exec = /usr/bin/grub-fix-initrd-generation |