fix service name in %%triggerun

This commit is contained in:
Miroslav Lichvar 2011-06-24 14:02:56 +02:00
parent 7d1d5f149d
commit d3ff70c319

View File

@ -95,8 +95,9 @@ getent passwd chrony > /dev/null || /usr/sbin/useradd -r -g chrony \
%triggerun -- chrony < 1.25 %triggerun -- chrony < 1.25
if /sbin/chkconfig --level 3 chronyd; then if /sbin/chkconfig --level 3 chronyd; then
/bin/systemctl enable chronyd.esrvice &> /dev/null || : /bin/systemctl enable chronyd.service &> /dev/null
fi fi
:
%preun %preun
if [ "$1" -eq 0 ]; then if [ "$1" -eq 0 ]; then