diff --git a/lighttpd.spec.in b/lighttpd.spec.in index 2eab2594..182297da 100644 --- a/lighttpd.spec.in +++ b/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