Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:smarty12
shorewall
0001-fillup-install.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 0001-fillup-install.patch of Package shorewall
From ed7338223d29d91b5d4dc2e6ab09c650286136f1 Mon Sep 17 00:00:00 2001 From: Togan Muftuoglu <toganm@opensuse.org> Date: Thu, 3 Oct 2013 19:49:17 +0200 Subject: [PATCH] fillup install openSUSE uses fillup to add or remove /etc/sysconfig/ items. This commit provides this approach to Shorewall-init install file Signed-off-by: Togan Muftuoglu <toganm@opensuse.org> --- install.sh | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/install.sh b/install.sh index 4b659df..30fc80e 100755 --- a/install.sh +++ b/install.sh @@ -392,10 +392,16 @@ else fi fi + 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 [ -n "$SYSCONFFILE" -a ! -f ${DESTDIR}${SYSCONFDIR}/${PRODUCT} ]; then run_install $OWNERSHIP -m 0644 ${SYSCONFFILE} ${DESTDIR}${SYSCONFDIR}/$PRODUCT echo "$SYSCONFFILE installed in ${DESTDIR}${SYSCONFDIR}/${PRODUCT}" fi + fi [ $HOST = suse ] && IFUPDOWN=ifupdown.suse.sh || IFUPDOWN=ifupdown.fedora.sh fi -- 1.8.4
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