Should run --reset in preun not postun
This commit is contained in:
parent
ed70f96a1f
commit
036ef9278b
@ -84,8 +84,9 @@ find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} \;
|
|||||||
rm -rf $RPM_BUILD_ROOT
|
rm -rf $RPM_BUILD_ROOT
|
||||||
|
|
||||||
%post -p /sbin/ldconfig
|
%post -p /sbin/ldconfig
|
||||||
%postun
|
%postun -p /sbin/ldconfig
|
||||||
/sbin/ldconfig
|
|
||||||
|
%preun
|
||||||
if [ $1 -eq 1 ]; then
|
if [ $1 -eq 1 ]; then
|
||||||
%{_sbindir}/plymouth-set-default-plugin --reset
|
%{_sbindir}/plymouth-set-default-plugin --reset
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user