mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-01-13 11:21:02 +01:00
Update 99-run.sh
This commit is contained in:
@@ -25,7 +25,7 @@ for KEYS in "${arr[@]}"; do
|
||||
bashio::log.blue "$line"
|
||||
fi
|
||||
# Use locally
|
||||
export "${KEYS}='${VALUE//[\"\']/}'"
|
||||
export "${KEYS}=${VALUE//[\"\']/}"
|
||||
# Export the variable to run scripts
|
||||
sed -i "1a export $line" /home/seafile/*.sh 2>/dev/null
|
||||
find /opt/seafile -name *.sh | xargs sed -i "1a export $line"
|
||||
|
||||
Reference in New Issue
Block a user