fixed a typo in the calls to chkconfig
This commit is contained in:
parent
47ada2868f
commit
33ac50bfeb
@ -50,11 +50,11 @@ install -m 755 etc/cachefilesd.initd %{buildroot}%{_sysconfdir}/rc.d/init.d/cach
|
|||||||
%clean
|
%clean
|
||||||
|
|
||||||
%post
|
%post
|
||||||
/sbin/chkconfig --add ${name}
|
/sbin/chkconfig --add %{name}
|
||||||
|
|
||||||
%preun
|
%preun
|
||||||
if [ $1 -eq 0 ]; then
|
if [ $1 -eq 0 ]; then
|
||||||
/sbin/chkconfig --del ${name}
|
/sbin/chkconfig --del %{name}
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user