mirror of
https://gitlab.com/shorewall/code.git
synced 2025-01-08 22:58:50 +01:00
Revert bad install change
git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@5158 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
parent
af594c2520
commit
a146360f58
@ -187,17 +187,6 @@ DEBIAN=
|
|||||||
|
|
||||||
OWNERSHIP="-o $OWNER -g $GROUP"
|
OWNERSHIP="-o $OWNER -g $GROUP"
|
||||||
|
|
||||||
if [ -d /etc/apt -a -e /usr/bin/dpkg ]; then
|
|
||||||
DEBIAN=yes
|
|
||||||
elif [ -f /etc/slackware-version ] ; then
|
|
||||||
DEST="/etc/rc.d"
|
|
||||||
INIT="rc.firewall"
|
|
||||||
elif [ -f /etc/arch-release ] ; then
|
|
||||||
DEST="/etc/rc.d"
|
|
||||||
INIT="shorewall-lite"
|
|
||||||
ARCHLINUX=yes
|
|
||||||
fi
|
|
||||||
|
|
||||||
if [ -n "$PREFIX" ]; then
|
if [ -n "$PREFIX" ]; then
|
||||||
if [ `id -u` != 0 ] ; then
|
if [ `id -u` != 0 ] ; then
|
||||||
echo "Not setting file owner/group permissions, not running as root."
|
echo "Not setting file owner/group permissions, not running as root."
|
||||||
@ -206,6 +195,15 @@ if [ -n "$PREFIX" ]; then
|
|||||||
|
|
||||||
install -d $OWNERSHIP -m 755 ${PREFIX}/sbin
|
install -d $OWNERSHIP -m 755 ${PREFIX}/sbin
|
||||||
install -d $OWNERSHIP -m 755 ${PREFIX}${DEST}
|
install -d $OWNERSHIP -m 755 ${PREFIX}${DEST}
|
||||||
|
elif [ -d /etc/apt -a -e /usr/bin/dpkg ]; then
|
||||||
|
DEBIAN=yes
|
||||||
|
elif [ -f /etc/slackware-version ] ; then
|
||||||
|
DEST="/etc/rc.d"
|
||||||
|
INIT="rc.firewall"
|
||||||
|
elif [ -f /etc/arch-release ] ; then
|
||||||
|
DEST="/etc/rc.d"
|
||||||
|
INIT="shorewall-lite"
|
||||||
|
ARCHLINUX=yes
|
||||||
fi
|
fi
|
||||||
|
|
||||||
#
|
#
|
||||||
|
Loading…
Reference in New Issue
Block a user