diff options
author | Markus Schanz | 2023-10-21 22:49:16 +0200 |
---|---|---|
committer | Markus Schanz | 2023-10-21 22:58:54 +0200 |
commit | 95925e311ece8cc0e9ab09e57ed9487e0fe38b9d (patch) | |
tree | f7b86ac3d3e47258bc353ec8126881eec00c94b9 /50_bootbackup.hook | |
parent | 3ed63adb6dec8b4500ee75834bc4b07c6867950f (diff) | |
download | aur-pacman-boot-backup-hook.tar.gz |
Hooks now trigger for all kernels in /boot that match vmlinuz-*
Diffstat (limited to '50_bootbackup.hook')
-rw-r--r-- | 50_bootbackup.hook | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/50_bootbackup.hook b/50_bootbackup.hook index 97ddabc5bdde..6f435499b023 100644 --- a/50_bootbackup.hook +++ b/50_bootbackup.hook @@ -6,10 +6,11 @@ Operation = Remove Target = systemd [Trigger] -Type = File +Type = Path Operation = Install Operation = Upgrade -Target = boot/vmlinuz-linux +Target = boot/vmlinuz-* +Target = usr/lib/modules/*/vmlinuz Target = usr/lib/initcpio/* [Action] |