File shorewall-init-4.5.15-install.patch of Package shorewall

---
 install.sh |    9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)

--- a/install.sh
+++ b/install.sh
@@ -359,8 +359,13 @@ else
 	fi
     fi
 
-    if [ -d ${DESTDIR}${SYSCONFDIR} -a ! -f ${DESTDIR}${SYSCONFDIR}/shorewall-init ]; then
-	install_file sysconfig ${DESTDIR}${SYSCONFDIR}/shorewall-init 0644
+    if [ $HOST = suse ]; then
+        mkdir -p ${DESTDIR}/var/adm/fillup-templates
+        install_file sysconfig ${DESTDIR}/var/adm/fillup-templates/sysconfig.shorewall-init 0644
+    else
+        if [ -d ${DESTDIR}${SYSCONFDIR} -a ! -f ${DESTDIR}${SYSCONFDIR}/shorewall-init ]; then
+            install_file sysconfig ${DESTDIR}${SYSCONFDIR}/shorewall-init 0644
+        fi
     fi
 
     [ $HOST = suse ] && IFUPDOWN=ifupdown.suse.sh || IFUPDOWN=ifupdown.fedora.sh