Merge "Checks the installation of curl command, Nova, Neutron and OpenStack packages related-bug: 1552433"
This commit is contained in:
commit
8c2351ed7d
@ -11,7 +11,12 @@ unset LANG
|
||||
unset LANGUAGE
|
||||
LC_ALL=C
|
||||
export LC_ALL
|
||||
|
||||
for i in curl nova neutron openstack; do
|
||||
if [[ ! $(which $i) ]]; then
|
||||
echo "$i not installed. Please install $i before proceeding"
|
||||
exit 1
|
||||
fi
|
||||
done
|
||||
# Move to top level directory
|
||||
REAL_PATH=$(python -c "import os,sys;print os.path.realpath('$0')")
|
||||
cd "$(dirname "$REAL_PATH")/.."
|
||||
|
Loading…
Reference in New Issue
Block a user