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 17 years ago
parent 942e416d3e
commit 45b98c63a3
  1. 4
      lighttpd.spec.in

@ -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…
Cancel
Save