mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-01-10 09:51:02 +01:00
Update 01-custom_script.sh
This commit is contained in:
@@ -15,7 +15,7 @@ fi
|
||||
if [ -f /config/addons_autoscripts/"${slug}".sh ]; then
|
||||
bashio::log.info "... script found, executing"
|
||||
# Convert scripts to linux
|
||||
dos2unix /config/addons_autoscripts/"${slug}".sh
|
||||
dos2unix /config/addons_autoscripts/"${slug}".sh || true
|
||||
chmod +x /config/addons_autoscripts/"${slug}".sh
|
||||
/./config/addons_autoscripts/"${slug}".sh
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user