aboutsummaryrefslogtreecommitdiff
path: root/webui.sh
diff options
context:
space:
mode:
authorDaniel M <danielm-github@dnml.de>2022-10-14 20:50:21 +0200
committerAUTOMATIC1111 <16777216c@gmail.com>2022-10-15 10:29:41 +0300
commit6a4e84671016d38c10a55fedcdf09321dba737ae (patch)
tree6a9e032730dcb96d8df45335d6a02c87c3868b9d /webui.sh
parentf756bc540a849039d88c19378419838fe87f15b0 (diff)
Fix prerequisites check in webui.sh
- Check the actually used `$python_cmd` and `$GIT` executables instead of the hardcoded ones - Fix typo in comment
Diffstat (limited to 'webui.sh')
-rwxr-xr-xwebui.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/webui.sh b/webui.sh
index 05ca497d..980c0aaf 100755
--- a/webui.sh
+++ b/webui.sh
@@ -82,8 +82,8 @@ then
clone_dir="${PWD##*/}"
fi
-# Check prequisites
-for preq in git python3
+# Check prerequisites
+for preq in "${GIT}" "${python_cmd}"
do
if ! hash "${preq}" &>/dev/null
then