This commit is contained in:
Alexandre
2023-03-29 20:37:37 +02:00
parent 3ea52e9051
commit 742d479361

View File

@@ -11,6 +11,11 @@ if [ -f /config/"${slug}".sh ]; then
mv -f /config/"${slug}".sh /config/addons_autoscripts/"${slug}".sh
fi
# Convert scripts to linux
if [ -f /usr/bin/dos2unix ]; then
dos2unix /config/addons_autoscripts/"${slug}".sh
fi
# Execute scripts
if [ -f /config/addons_autoscripts/"${slug}".sh ]; then
bashio::log.info "... script found, executing"