11 lines
196 B
Bash
11 lines
196 B
Bash
|
#!/bin/bash
|
||
|
|
||
|
if ! command -v python3 &> /dev/null; then
|
||
|
if ! command -v python &> /dev/null; then
|
||
|
echo "Python3 is not installed"
|
||
|
else
|
||
|
python deploy.py
|
||
|
fi
|
||
|
else
|
||
|
python3 deploy.py
|
||
|
fi
|