LogoopenSUSE Build Service > Projects
Sign Up | Log In

View File shorewall-init-4.5.2-install.patch of Package shorewall (Project security:netfilter)

From 54007d96d266d8dcd3e9a4ccefcb2979893c0dd3 Mon Sep 17 00:00:00 2001
From: Togan Muftuoglu <toganm@opensuse.org>
Date: Fri, 13 Apr 2012 12:28:56 +0200
Subject: [PATCH] shorewall-init 4.5.2 install

---
 install.sh |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

--- a/install.sh
+++ b/install.sh
@@ -356,10 +356,10 @@ else
 	    fi
 	fi
     fi
+	mkdir -p ${DESTDIR}/var/adm/fillup-templates
+	install_file sysconfig ${DESTDIR}/var/adm/fillup-templates/sysconfig.shorewall-init 0644
+
 
-    if [ -d ${DESTDIR}${SYSCONFDIR} -a ! -f ${DESTDIR}${SYSCONFDIR}/shorewall-init ]; then
-	install_file sysconfig ${DESTDIR}${SYSCONFDIR}/shorewall-init 0644
-    fi 
 fi
 
 #