From 0b2fad6c02bf30fa8a7527af3ace94bebe764e71 Mon Sep 17 00:00:00 2001 From: BrainwreckedTech Date: Wed, 4 Dec 2019 01:20:11 -0500 Subject: [PATCH] Moved Type= to top, Fixed Type=File to Type=Path --- 89-rename-lts-kernel.hook | 6 +++--- 89-rename-zen-kernel.hook | 2 +- nvidia.hook | 2 +- orphans.hook | 2 +- refind.hook | 2 +- systemd-boot.hook | 2 +- 6 files changed, 8 insertions(+), 8 deletions(-) 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