revert previous change and use %tmpfiles_create in %post
This commit is contained in:
parent
33fbffc3dd
commit
e5985a76ee
@ -80,13 +80,11 @@ mkdir -p %{buildroot}%{_lockdir}
|
|||||||
%pre
|
%pre
|
||||||
getent group lock >/dev/null 2>&1 || groupadd -g 54 -r -f lock >/dev/null 2>&1 || :
|
getent group lock >/dev/null 2>&1 || groupadd -g 54 -r -f lock >/dev/null 2>&1 || :
|
||||||
|
|
||||||
%post -p /sbin/ldconfig
|
|
||||||
|
|
||||||
%post
|
%post
|
||||||
/sbin/ldconfig
|
/sbin/ldconfig
|
||||||
if [ $1 -eq 1 ] ; then
|
if [ $1 -eq 1 ] ; then
|
||||||
# for the time until first reboot
|
# for the time until first reboot
|
||||||
%tmpfiles_create
|
%tmpfiles_create
|
||||||
fi
|
fi
|
||||||
|
|
||||||
%postun -p /sbin/ldconfig
|
%postun -p /sbin/ldconfig
|
||||||
|
Loading…
Reference in New Issue
Block a user