From 45b98c63a364011336f6a7ff4b361a8ae6dfe07e Mon Sep 17 00:00:00 2001 From: Jan Kneschke Date: Wed, 11 Jan 2006 16:04:31 +0000 Subject: [PATCH] fixed chkconfig on install git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@937 152afb58-edef-0310-8abb-c4023f1b3aa9 --- lighttpd.spec.in | 4 ++-- 1 file 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