summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Kneschke <jan@kneschke.de>2006-01-11 16:04:31 +0000
committerJan Kneschke <jan@kneschke.de>2006-01-11 16:04:31 +0000
commitf68cecf5e431905d1eb54670aa1d7a19d65a4b3e (patch)
treefa48d073fc7b42b57c80ef5fce2b560a5a0411ee
parent2f2dc856070d83d2cc4c09764d97fed44bbc1117 (diff)
downloadlighttpd-git-f68cecf5e431905d1eb54670aa1d7a19d65a4b3e.tar.gz
fixed chkconfig on install
git-svn-id: svn+ssh://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@937 152afb58-edef-0310-8abb-c4023f1b3aa9
-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