mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-01-11 10:21:02 +01:00
Newlines on bashrc
This commit is contained in:
@@ -51,7 +51,7 @@ for KEYS in "${arr[@]}"; do
|
||||
if cat /etc/cont-init.d/*run* &>/dev/null; then sed -i "1a export $line" /etc/cont-init.d/*run* 2>/dev/null; fi
|
||||
# For s6
|
||||
if [ -d /var/run/s6/container_environment ]; then printf "%s" "${VALUE}" > /var/run/s6/container_environment/"${KEYS}"; fi
|
||||
printf "%s" "${KEYS}=\"${VALUE}\"" >> ~/.bashrc
|
||||
printf "%s" "\n${KEYS}=\"${VALUE}\"" >> ~/.bashrc
|
||||
|
||||
done
|
||||
|
||||
|
||||
Reference in New Issue
Block a user