mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-05-16 05:41:49 +02:00
Update 02-init_steps.sh
This commit is contained in:
@@ -15,7 +15,12 @@ done
|
|||||||
######################
|
######################
|
||||||
|
|
||||||
echo "Checking installation"
|
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 "Issue with installation detected, reinstallation will proceed"
|
||||||
bashio::log.fatal "-------------------------------------------------------------."
|
bashio::log.fatal "-------------------------------------------------------------."
|
||||||
bashio::log.fatal " "
|
bashio::log.fatal " "
|
||||||
|
|||||||
Reference in New Issue
Block a user