Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Backports:SLE-15-SP4:FactoryCandidates
shorewall
shorewall-init-fillup-install.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File shorewall-init-fillup-install.patch of Package shorewall
diff -rup a/install.sh b/install.sh --- a/install.sh 2018-03-01 17:44:42.000000000 +0100 +++ b/install.sh 2018-03-05 17:50:06.242326227 +0100 @@ -385,10 +385,14 @@ else fi fi fi - - if [ -n "$SYSCONFFILE" -a ! -f ${DESTDIR}${SYSCONFDIR}/${PRODUCT} ]; then - install_file ${SYSCONFFILE} ${DESTDIR}${SYSCONFDIR}/$PRODUCT 0644 - echo "${SYSCONFFILE} file installed in ${DESTDIR}${SYSCONFDIR}/${PRODUCT}" + if [ $HOST = suse ]; then + mkdir -p ${DESTDIR}/${FILLUPDIR} + install_file sysconfig ${DESTDIR}/${FILLUPDIR}/sysconfig.shorewall-init 0644 + else + if [ -n "$SYSCONFFILE" -a ! -f ${DESTDIR}${SYSCONFDIR}/${PRODUCT} ]; then + install_file ${SYSCONFFILE} ${DESTDIR}${SYSCONFDIR}/$PRODUCT 0644 + echo "${SYSCONFFILE} file installed in ${DESTDIR}${SYSCONFDIR}/${PRODUCT}" + fi fi [ $HOST = suse ] && IFUPDOWN=ifupdown.suse.sh || IFUPDOWN=ifupdown.fedora.sh
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor