summaryrefslogtreecommitdiff
path: root/lighttpd.spec.in
diff options
context:
space:
mode:
Diffstat (limited to 'lighttpd.spec.in')
-rw-r--r--lighttpd.spec.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/lighttpd.spec.in b/lighttpd.spec.in
index 2eab259..182297d 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