forked from Github-Mirrors/canaille
demo: python binary detection fix
This commit is contained in:
parent
b03b81ff23
commit
5273ae1075
1 changed files with 1 additions and 1 deletions
|
@ -12,7 +12,7 @@ function usage {
|
||||||
}
|
}
|
||||||
|
|
||||||
function run {
|
function run {
|
||||||
if ! type python > /dev/null 2>&1; then
|
if ! type python > /dev/null 2>&1 && ! type python3 > /dev/null 2>&1; then
|
||||||
echo "Cannot start the LDAP server. Please install python on your system."
|
echo "Cannot start the LDAP server. Please install python on your system."
|
||||||
return 1
|
return 1
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in a new issue