mirror of
https://gitlab.com/shorewall/code.git
synced 2025-01-23 05:58:44 +01:00
Require the 'install' utility in the installers
Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
parent
27d94c8921
commit
073b2992cc
@ -133,6 +133,8 @@ while [ $finished -eq 0 ]; do
|
|||||||
esac
|
esac
|
||||||
done
|
done
|
||||||
|
|
||||||
|
[ -n $(mywhich install) ] || { fatal_error "This installer requires the 'install' utility"
|
||||||
|
|
||||||
#
|
#
|
||||||
# Read the RC file
|
# Read the RC file
|
||||||
#
|
#
|
||||||
|
@ -151,6 +151,8 @@ while [ $finished -eq 0 ] ; do
|
|||||||
esac
|
esac
|
||||||
done
|
done
|
||||||
|
|
||||||
|
[ -n $(mywhich install) ] || { fatal_error "This installer requires the 'install' utility"
|
||||||
|
|
||||||
#
|
#
|
||||||
# Read the RC file
|
# Read the RC file
|
||||||
#
|
#
|
||||||
@ -187,7 +189,7 @@ elif [ -z "${VARDIR}" ]; then
|
|||||||
VARDIR=${VARLIB}/${PRODUCT}
|
VARDIR=${VARLIB}/${PRODUCT}
|
||||||
fi
|
fi
|
||||||
|
|
||||||
for var in SHAREDIR LIBEXECDIRDIRDIR CONFDIR SBINDIR VARLIB VARDIR; do
|
for var in SHAREDIR LIBEXECDIR CONFDIR SBINDIR VARLIB VARDIR; do
|
||||||
require $var
|
require $var
|
||||||
done
|
done
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user