diff options
Diffstat (limited to '90-linux.hook')
-rw-r--r-- | 90-linux.hook | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/90-linux.hook b/90-linux.hook index 9851151995bc..b33873c854fb 100644 --- a/90-linux.hook +++ b/90-linux.hook @@ -2,10 +2,11 @@ Type = File Operation = Install Operation = Upgrade -Target = boot/vmlinuz-%PKGBASE% -Target = usr/lib/initcpio/* +Operation = Remove +Target = usr/lib/modules/%KERNVER%/* +Target = usr/lib/modules/%EXTRAMODULES%/* [Action] -Description = Updating %PKGBASE% initcpios +Description = Updating %PKGBASE% module dependencies... When = PostTransaction -Exec = /usr/bin/mkinitcpio -p %PKGBASE% +Exec = /usr/bin/depmod %KERNVER% |