Don't try to run CLI installer if it doesn't exist

This commit is contained in:
Robin 2022-05-04 13:06:05 +02:00
parent 555b518418
commit a99110d9f5

View File

@ -51,6 +51,8 @@ then
cd /data
if [ -f core/config.php ]; then
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
echo "Going to run installer, first waiting 10 seconds for the database to start"
sleep 10