diff --git a/89-rename-lts-kernel.hook b/89-rename-lts-kernel.hook index bd097c6..cd06f84 100644 --- a/89-rename-lts-kernel.hook +++ b/89-rename-lts-kernel.hook @@ -1,10 +1,10 @@ [Trigger] -Type = File +Type = Path Operation = Install Operation = Upgrade -Target = /boot/vmlinuz-linux-lts +Target = boot/vmlinuz-linux-lts [Action] -Description = Renaming vmlinuz-linux-lts to resc-lts.krn... +Description = Renaming vmlinuz-linux-lts to arch-lts.krn... When = PostTransaction Exec = /usr/bin/mv /boot/vmlinuz-linux-lts /boot/resc-lts.krn diff --git a/89-rename-zen-kernel.hook b/89-rename-zen-kernel.hook index b2f4ac4..c975461 100644 --- a/89-rename-zen-kernel.hook +++ b/89-rename-zen-kernel.hook @@ -1,5 +1,5 @@ [Trigger] -Type = File +Type = Path Operation = Install Operation = Upgrade Target = boot/vmlinuz-linux-zen diff --git a/nvidia.hook b/nvidia.hook index 84fa42c..5345a51 100644 --- a/nvidia.hook +++ b/nvidia.hook @@ -1,8 +1,8 @@ [Trigger] +Type=Package Operation=Install Operation=Upgrade Operation=Remove -Type=Package Target=nvidia [Action] diff --git a/orphans.hook b/orphans.hook index d0e1068..cf1223f 100644 --- a/orphans.hook +++ b/orphans.hook @@ -1,7 +1,7 @@ [Trigger] +Type=Package Operation=Install Operation=Upgrade -Type=Package Target=* [Action] diff --git a/refind.hook b/refind.hook index 3a3b17b..c00df59 100644 --- a/refind.hook +++ b/refind.hook @@ -1,6 +1,6 @@ [Trigger] -Operation=Upgrade Type=Package +Operation=Upgrade Target=refind-efi [Action] diff --git a/systemd-boot.hook b/systemd-boot.hook index cf49207..16b7a38 100644 --- a/systemd-boot.hook +++ b/systemd-boot.hook @@ -1,5 +1,5 @@ [Trigger] -Type = File +Type = Path Operation = Upgrade Target = boot/EFI/systemd/systemd-bootx64.efi