mirror of
https://gitlab.com/shorewall/code.git
synced 2025-01-05 13:08:50 +01:00
Add support for packager's config file
Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
parent
09ad6bba1a
commit
c252005e25
@ -85,6 +85,13 @@ install_file() # $1 = source $2 = target $3 = mode
|
|||||||
run_install $T $OWNERSHIP -m $3 $1 ${2}
|
run_install $T $OWNERSHIP -m $3 $1 ${2}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
cd "$(dirname $0)"
|
||||||
|
|
||||||
|
#
|
||||||
|
# Load packager's settings if any
|
||||||
|
#
|
||||||
|
[ -f ../shorewall-pkg.config ] && . ../shorewall-pkg.config
|
||||||
|
|
||||||
[ -n "$DESTDIR" ] || DESTDIR="$PREFIX"
|
[ -n "$DESTDIR" ] || DESTDIR="$PREFIX"
|
||||||
|
|
||||||
#
|
#
|
||||||
|
@ -86,6 +86,13 @@ install_file() # $1 = source $2 = target $3 = mode
|
|||||||
run_install $T $OWNERSHIP -m $3 $1 ${2}
|
run_install $T $OWNERSHIP -m $3 $1 ${2}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
cd "$(dirname $0)"
|
||||||
|
|
||||||
|
#
|
||||||
|
# Load packager's settings if any
|
||||||
|
#
|
||||||
|
[ -f ../shorewall-pkg.config ] && . ../shorewall-pkg.config
|
||||||
|
|
||||||
[ -n "$DESTDIR" ] || DESTDIR="$PREFIX"
|
[ -n "$DESTDIR" ] || DESTDIR="$PREFIX"
|
||||||
|
|
||||||
while [ $# -gt 0 ] ; do
|
while [ $# -gt 0 ] ; do
|
||||||
|
@ -90,6 +90,11 @@ install_file() # $1 = source $2 = target $3 = mode
|
|||||||
#
|
#
|
||||||
cd "$(dirname $0)"
|
cd "$(dirname $0)"
|
||||||
|
|
||||||
|
#
|
||||||
|
# Load packager's settings if any
|
||||||
|
#
|
||||||
|
[ -f ../shorewall-pkg.config ] && . ../shorewall-pkg.config
|
||||||
|
|
||||||
if [ -f shorewall-lite ]; then
|
if [ -f shorewall-lite ]; then
|
||||||
PRODUCT=shorewall-lite
|
PRODUCT=shorewall-lite
|
||||||
Product="Shorewall Lite"
|
Product="Shorewall Lite"
|
||||||
|
@ -92,6 +92,11 @@ install_file() # $1 = source $2 = target $3 = mode
|
|||||||
|
|
||||||
cd "$(dirname $0)"
|
cd "$(dirname $0)"
|
||||||
|
|
||||||
|
#
|
||||||
|
# Load packager's settings if any
|
||||||
|
#
|
||||||
|
[ -f ../shorewall-pkg.config ] && . ../shorewall-pkg.config
|
||||||
|
|
||||||
if [ -f shorewall ]; then
|
if [ -f shorewall ]; then
|
||||||
PRODUCT=shorewall
|
PRODUCT=shorewall
|
||||||
Product=Shorewall
|
Product=Shorewall
|
||||||
|
Loading…
Reference in New Issue
Block a user