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