Don't try to run CLI installer if it doesn't exist
This commit is contained in:
parent
555b518418
commit
a99110d9f5
@ -51,6 +51,8 @@ then
|
|||||||
cd /data
|
cd /data
|
||||||
if [ -f core/config.php ]; then
|
if [ -f core/config.php ]; then
|
||||||
echo "core/config.php exists, not running installer."
|
echo "core/config.php exists, not running installer."
|
||||||
|
elif [ -f scripts/cli_install.php ]; then
|
||||||
|
echo "CLI install script doesn't exist, not running installer."
|
||||||
else
|
else
|
||||||
echo "Going to run installer, first waiting 10 seconds for the database to start"
|
echo "Going to run installer, first waiting 10 seconds for the database to start"
|
||||||
sleep 10
|
sleep 10
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user