Fix install issues with Shorewall-init

This commit is contained in:
Tom Eastep 2010-05-23 19:36:49 -07:00
parent f7d3bd933a
commit bfa93e2588

View File

@ -233,7 +233,7 @@ if [ -n "$DEBIAN" ]; then
mkdir ${PREFIX}/etc/default mkdir ${PREFIX}/etc/default
fi fi
install_file $OWNERSHIP sysconfig ${PREFIX}/etc/default/shorewall-init 0655 install_file sysconfig ${PREFIX}/etc/default/shorewall-init 0655
fi fi
else else
if [ -n "$PREFIX" ]; then if [ -n "$PREFIX" ]; then
@ -247,7 +247,7 @@ else
fi fi
if [ -d ${PREFIX}/etc/sysconfig -a ! -f ${PREFIX}/etc/sysconfig/shorewall-init ]; then if [ -d ${PREFIX}/etc/sysconfig -a ! -f ${PREFIX}/etc/sysconfig/shorewall-init ]; then
install_file $OWNERSHIP sysconfig ${PREFIX}/etc/sysconfig/shorewall-init 0644 install_file sysconfig ${PREFIX}/etc/sysconfig/shorewall-init 0644
fi fi
fi fi
@ -258,7 +258,7 @@ if [ -n "${PREFIX}" ]; then
mkdir -p ${PREFIX}/sbin mkdir -p ${PREFIX}/sbin
fi fi
install_file $OWNERSHIP ifupdown.sh ${PREFIX}/sbin/shorewall-ifupdown 744 install_file ifupdown.sh ${PREFIX}/sbin/shorewall-ifupdown 744
if [ -d ${PREFIX}/etc/NetworkManager ]; then if [ -d ${PREFIX}/etc/NetworkManager ]; then
install_file ifupdown.sh ${PREFIX}/etc/NetworkManager/dispatcher.d/01-shorewall 0744 install_file ifupdown.sh ${PREFIX}/etc/NetworkManager/dispatcher.d/01-shorewall 0744