summaryrefslogtreecommitdiff
path: root/etc/pacman.d/hooks/zz-snap-pac-postz-grub.hook
blob: 8eb00da4a02948d5353d11a69545a2a722be27b7 (plain)
1
2
3
4
5
6
7
8
9
10
11
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"