pkg: Fedora: fix scriptlets during reinstall

This commit is contained in:
Karuboniru 2022-09-07 14:37:44 +08:00 committed by GitHub
parent bebb9b53f8
commit e2aa7c87c2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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