Browse Source

pkg: Fedora: fix scriptlets during reinstall

Karuboniru 2 years ago
parent
commit
e2aa7c87c2
1 changed files with 1 additions and 1 deletions
  1. 1 1
      pkg/fedora/kernel-surface/kernel-surface.spec

+ 1 - 1
pkg/fedora/kernel-surface/kernel-surface.spec

@@ -337,7 +337,7 @@ EOF
 %clean
 rm -rf %{buildroot}
 
-%post
+%posttrans
 /bin/kernel-install add %{kernel_name} /lib/modules/%{kernel_name}/vmlinuz || exit $?
 
 %preun