mirror of
https://github.com/xcp-ng/xenadmin.git
synced 2024-11-25 14:27:26 +01:00
Corrected dependendencies test which was always failing.
This commit is contained in:
parent
37d3a4e621
commit
332fc6f79c
@ -40,7 +40,11 @@
|
|||||||
|
|
||||||
for DEP in nunit-console zip unzip mkisofs wget curl hg git patch
|
for DEP in nunit-console zip unzip mkisofs wget curl hg git patch
|
||||||
do
|
do
|
||||||
which $DEP >>/dev/null || echo "ERROR: $DEP was not found, install it or add it to the PATH." && FATAL=1
|
which $DEP >>/dev/null
|
||||||
|
if [ $? -ne 0 ]; then
|
||||||
|
echo "ERROR: $DEP was not found, install it or add it to the PATH."
|
||||||
|
FATAL=1
|
||||||
|
fi
|
||||||
done
|
done
|
||||||
if [ -z ${FATAL+x} ]; then
|
if [ -z ${FATAL+x} ]; then
|
||||||
echo ""
|
echo ""
|
||||||
|
Loading…
Reference in New Issue
Block a user