summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lighttpd.spec.in4
1 files changed, 2 insertions, 2 deletions
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