Should run --reset in preun not postun

This commit is contained in:
Ray Strode 2008-06-12 18:30:58 +00:00
parent ed70f96a1f
commit 036ef9278b

View File

@ -84,8 +84,9 @@ find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} \;
rm -rf $RPM_BUILD_ROOT
%post -p /sbin/ldconfig
%postun
/sbin/ldconfig
%postun -p /sbin/ldconfig
%preun
if [ $1 -eq 1 ]; then
%{_sbindir}/plymouth-set-default-plugin --reset
fi