mirror of
https://gitlab.com/shorewall/code.git
synced 2025-01-23 14:08:45 +01: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
|
||||
|
||||
install -d $OWNERSHIP -m 0755 ${DESTDIR}${SBINDIR}
|
||||
[ -n "${INITFILE}" ] && install -d $OWNERSHIP -m 0755 ${DESTDIR}${INITDIR}
|
||||
run_install -d $OWNERSHIP -m 0755 ${DESTDIR}${SBINDIR}
|
||||
[ -n "${INITFILE}" ] && run_install -d $OWNERSHIP -m 0755 ${DESTDIR}${INITDIR}
|
||||
if [ -z "$DESTDIR" -a $PRODUCT != shorewall ]; then
|
||||
[ -x ${LIBEXECDIR}/shorewall/compiler.pl ] || \
|
||||
{ echo " ERROR: Shorewall >= 4.5.0 is not installed" >&2; exit 1; }
|
||||
|
Loading…
Reference in New Issue
Block a user