Update 02-init_steps.sh

This commit is contained in:
Alexandre
2023-03-23 22:35:00 +01:00
committed by GitHub
parent 8504c2e9ff
commit a183c2ea03

View File

@@ -15,7 +15,12 @@ done
######################
echo "Checking installation"
if [[ "$(occ -V)" == *"Composer autoloader not found"* ]]; then
(if [[ "$(occ -V)" == *"Composer autoloader not found"* ]]; then
touch /reinstall
fi) &> /dev/null
if [ -f /reinstall ]; then
rm /reinstall
bashio::log.fatal "Issue with installation detected, reinstallation will proceed"
bashio::log.fatal "-------------------------------------------------------------."
bashio::log.fatal " "