mirror of
https://dev.iopsys.eu/feed/iopsys.git
synced 2026-03-06 09:21:36 +01:00
taas: prerequisite check has been moved to a common lib.
This commit is contained in:
parent
436a57f8d6
commit
faec0f002a
1 changed files with 1 additions and 11 deletions
|
|
@ -19,20 +19,10 @@ function taas-init() {
|
|||
fi
|
||||
|
||||
if ! which taas-smoketest >/dev/null; then
|
||||
echo "Error; missing command \"taas-smoketest\". Install it with:"
|
||||
echo "Error; TaaS is missing! Install it with:"
|
||||
echo "git clone git@dev.iopsys.eu:iopsys/iopsys-taas.git ../iopsys-taas"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
# Prerequisites?
|
||||
for app in expect socat timeout stdbuf bash env head strings \
|
||||
tee cut tr grep curl ssh trickle; do
|
||||
if ! which $app >/dev/null; then
|
||||
echo "Error; missing command \"$app\""
|
||||
echo "Install it from your Linux distro!"
|
||||
exit 1
|
||||
fi
|
||||
done
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue