mirror of
https://gitlab.com/shorewall/code.git
synced 2025-06-19 17:28:35 +02:00
Allow Debian install with PREFIX
Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
parent
60c751b98f
commit
0ef4cd1653
@ -107,9 +107,6 @@ if [ -z "$RUNLEVELS" ] ; then
|
|||||||
RUNLEVELS=""
|
RUNLEVELS=""
|
||||||
fi
|
fi
|
||||||
|
|
||||||
DEBIAN=
|
|
||||||
CYGWIN=
|
|
||||||
MAC=
|
|
||||||
SPARSE=
|
SPARSE=
|
||||||
MANDIR=${MANDIR:-"/usr/share/man"}
|
MANDIR=${MANDIR:-"/usr/share/man"}
|
||||||
INSTALLD='-D'
|
INSTALLD='-D'
|
||||||
@ -246,7 +243,7 @@ fi
|
|||||||
# Install the Firewall Script
|
# Install the Firewall Script
|
||||||
#
|
#
|
||||||
if [ -n "$DEBIAN" ]; then
|
if [ -n "$DEBIAN" ]; then
|
||||||
install_file init.debian.sh /etc/init.d/shorewall 0544
|
install_file init.debian.sh ${PREFIX}/etc/init.d/shorewall 0544
|
||||||
elif [ -n "$ARCHLINUX" ]; then
|
elif [ -n "$ARCHLINUX" ]; then
|
||||||
install_file init.archlinux.sh ${PREFIX}${DEST}/$INIT 0544
|
install_file init.archlinux.sh ${PREFIX}${DEST}/$INIT 0544
|
||||||
elif [ -n "$SLACKWARE" ]; then
|
elif [ -n "$SLACKWARE" ]; then
|
||||||
@ -286,7 +283,7 @@ perl -p -w -i -e 's|^STARTUP_LOG=.*|STARTUP_LOG=/var/log/shorewall-lite-init.log
|
|||||||
if [ ! -f ${PREFIX}/etc/shorewall/shorewall.conf ]; then
|
if [ ! -f ${PREFIX}/etc/shorewall/shorewall.conf ]; then
|
||||||
run_install $OWNERSHIP -m 0644 configfiles/shorewall.conf ${PREFIX}/etc/shorewall
|
run_install $OWNERSHIP -m 0644 configfiles/shorewall.conf ${PREFIX}/etc/shorewall
|
||||||
|
|
||||||
if [ -n "$DEBIAN" ] && mywhich perl; then
|
if [ -n "$DEBIAN" ]; then
|
||||||
#
|
#
|
||||||
# Make a Debian-like shorewall.conf
|
# Make a Debian-like shorewall.conf
|
||||||
#
|
#
|
||||||
|
Loading…
x
Reference in New Issue
Block a user