fixed chkconfig on install
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@937 152afb58-edef-0310-8abb-c4023f1b3aa9svn/tags/lighttpd-1.4.11
parent
942e416d3e
commit
45b98c63a3
|
@ -48,8 +48,8 @@ install -m 644 doc/sysconfig.lighttpd %{buildroot}%{_sysconfdir}/sysconfig/light
|
|||
rm -rf %{buildroot}
|
||||
|
||||
%post
|
||||
|
||||
if test "$1" = "0"; then
|
||||
## read http://www.fedora.us/docs/spec.html next time :)
|
||||
if test "$1" = "1"; then
|
||||
# real install, not upgrade
|
||||
/sbin/chkconfig --add lighttpd
|
||||
fi
|
||||
|
|
Loading…
Reference in New Issue