From 4398fb23d176ac4d5c6977e3e736ddf59246e78c Mon Sep 17 00:00:00 2001 From: Tom Eastep Date: Sat, 4 Oct 2014 18:49:55 -0700 Subject: [PATCH] Create INITDIR in the Shorewall init installer Signed-off-by: Tom Eastep --- Shorewall-init/install.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/Shorewall-init/install.sh b/Shorewall-init/install.sh index 9374f324b..460641a92 100755 --- a/Shorewall-init/install.sh +++ b/Shorewall-init/install.sh @@ -316,6 +316,7 @@ fi # Install the Firewall Script # if [ -n "$INITFILE" ]; then + mkdir -p ${DESTDIR}${INITDIR} install_file $INITSOURCE ${DESTDIR}${INITDIR}/$INITFILE 0544 [ "${SHAREDIR}" = /usr/share ] || eval sed -i \'s\|/usr/share/\|${SHAREDIR}/\|\' ${DESTDIR}${INITDIR}/$INITFILE