forked from extern/shorewall_code
Fix install.sh with PREFIX
git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@8503 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
parent
5f3456fc34
commit
7378dad571
@ -200,10 +200,10 @@ if [ -n "$PREFIX" ]; then
|
|||||||
if [ -z "$CYGWIN" -a `id -u` != 0 ] ; then
|
if [ -z "$CYGWIN" -a `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."
|
||||||
OWNERSHIP=""
|
OWNERSHIP=""
|
||||||
|
fi
|
||||||
|
|
||||||
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}
|
||||||
fi
|
|
||||||
else
|
else
|
||||||
[ -x /usr/share/shorewall-shell/compiler -o -x /usr/share/shorewall-perl/compiler.pl ] || \
|
[ -x /usr/share/shorewall-shell/compiler -o -x /usr/share/shorewall-perl/compiler.pl ] || \
|
||||||
{ echo " ERROR: No Shorewall compiler is installed" >&2; exit 1; }
|
{ echo " ERROR: No Shorewall compiler is installed" >&2; exit 1; }
|
||||||
|
Loading…
Reference in New Issue
Block a user