fixed chkconfig on install

git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@937 152afb58-edef-0310-8abb-c4023f1b3aa9
svn/tags/lighttpd-1.4.11
Jan Kneschke 2006-01-11 16:04:31 +00:00
parent 942e416d3e
commit 45b98c63a3
1 changed files with 2 additions and 2 deletions

View File

@ -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