mirror of
https://gitlab.com/shorewall/code.git
synced 2025-06-22 10:41:23 +02:00
shorewall: Use a function to install file
Signed-off-by: Matt Darfeuille <matdarf@gmail.com> Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
parent
c58efe7698
commit
22b044f350
@ -331,8 +331,8 @@ if [ $BUILD != cygwin ]; then
|
|||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
install -d $OWNERSHIP -m 0755 ${DESTDIR}${SBINDIR}
|
run_install -d $OWNERSHIP -m 0755 ${DESTDIR}${SBINDIR}
|
||||||
[ -n "${INITFILE}" ] && install -d $OWNERSHIP -m 0755 ${DESTDIR}${INITDIR}
|
[ -n "${INITFILE}" ] && run_install -d $OWNERSHIP -m 0755 ${DESTDIR}${INITDIR}
|
||||||
if [ -z "$DESTDIR" -a $PRODUCT != shorewall ]; then
|
if [ -z "$DESTDIR" -a $PRODUCT != shorewall ]; then
|
||||||
[ -x ${LIBEXECDIR}/shorewall/compiler.pl ] || \
|
[ -x ${LIBEXECDIR}/shorewall/compiler.pl ] || \
|
||||||
{ echo " ERROR: Shorewall >= 4.5.0 is not installed" >&2; exit 1; }
|
{ echo " ERROR: Shorewall >= 4.5.0 is not installed" >&2; exit 1; }
|
||||||
|
Loading…
x
Reference in New Issue
Block a user