mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-01-11 18:31:02 +01:00
Update 02-init_steps.sh
This commit is contained in:
@@ -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 " "
|
||||
|
||||
Reference in New Issue
Block a user