summaryrefslogtreecommitdiff
path: root/lighttpd.spec
diff options
context:
space:
mode:
Diffstat (limited to 'lighttpd.spec')
-rw-r--r--lighttpd.spec6
1 files changed, 3 insertions, 3 deletions
diff --git a/lighttpd.spec b/lighttpd.spec
index 3dbc637..70c8278 100644
--- a/lighttpd.spec
+++ b/lighttpd.spec
@@ -1,6 +1,6 @@
Summary: A fast webserver with minimal memory-footprint (lighttpd)
Name: lighttpd
-Version: 1.4.8
+Version: 1.4.9
Release: 1
Source: http://jan.kneschke.de/projects/lighttpd/download/lighttpd-%version.tar.gz
Packager: Jan Kneschke <jan@kneschke.de>
@@ -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