diff options
Diffstat (limited to 'usr')
| -rw-r--r-- | usr/share/libalpm/hooks/zz-snap-pac-postz-grub.hook | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/usr/share/libalpm/hooks/zz-snap-pac-postz-grub.hook b/usr/share/libalpm/hooks/zz-snap-pac-postz-grub.hook new file mode 100644 index 00000000..8eb00da4 --- /dev/null +++ b/usr/share/libalpm/hooks/zz-snap-pac-postz-grub.hook @@ -0,0 +1,12 @@ +[Trigger] +Operation = Upgrade +Operation = Install +Operation = Remove +Type = Package +Target = * + +[Action] +Description = Generating GRUB config to let grub-btrfs detect new snapshots... +Depends = grub +When = PostTransaction +Exec = /bin/bash -c "/usr/share/libalpm/scripts/grub-mkconfig 2>&1 | /home/system/scripts/oneline" |
