Update run.sh

This commit is contained in:
Alexandre
2021-08-01 18:03:53 +02:00
committed by GitHub
parent 29d2086d85
commit 9ae3a0f3b8

View File

@@ -1,6 +1,6 @@
#!/usr/bin/env bashio #!/usr/bin/env bashio
bashio::log.warning "Warning - minimum configuration required: 2 cpu cores and 4 GB of memory" bashio::log.warning "Warning - minimum configuration recommended : 2 cpu cores and 4 GB of memory"
########## ##########
# BANNER # # BANNER #
@@ -143,7 +143,7 @@ then
true true
else else
bashio::log.info "Path $variabletest doesn't exist. Creating it now..." bashio::log.info "Path $variabletest doesn't exist. Creating it now..."
mkdir -p $variable || bashio::log.fatal "Can't create $variabletest path" mkdir -p $variabletest || bashio::log.fatal "Can't create $variabletest path"
fi fi
# Check if path writable # Check if path writable
touch $variabletest/aze && rm $variabletest/aze || bashio::log.fatal "$variable path is not writable" touch $variabletest/aze && rm $variabletest/aze || bashio::log.fatal "$variable path is not writable"