diff options
Diffstat (limited to 'bin/srt')
-rwxr-xr-x | bin/srt | 11 |
1 files changed, 9 insertions, 2 deletions
@@ -110,8 +110,15 @@ stop_system() } verify_prereq() { - # disable for now - #return + # Quick check for Python3 + if [ -z "$(which python3)" ] ; then + echo "ERROR: missing 'python3' host package" + return 2 + fi + if [ -z "$(which sqlite3)" ] ; then + echo "ERROR: missing 'sqlite3' host package" + return 2 + fi # Verify Django version reqfile=$(python3 -c "import os; print(os.path.realpath('$SRT_BASE_DIR/bin/srtool-requirements.txt'))") |