Exit if python3 is not available
This commit is contained in:
parent
99a1ab093c
commit
316fcad8be
1 changed files with 1 additions and 1 deletions
|
@ -33,7 +33,7 @@ create_link () {
|
||||||
py3cmd="$(command -v python3)"
|
py3cmd="$(command -v python3)"
|
||||||
if [ ! -x "$py3cmd" ]; then
|
if [ ! -x "$py3cmd" ]; then
|
||||||
echo "python3 not found"
|
echo "python3 not found"
|
||||||
return 1
|
exit 1
|
||||||
else
|
else
|
||||||
echo "python3 found: $py3cmd"
|
echo "python3 found: $py3cmd"
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in a new issue