mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-01-10 09:51:02 +01:00
Add line breaks in bashrc https://github.com/alexbelgium/hassio-addons/issues/1557
This commit is contained in:
@@ -39,8 +39,8 @@ sed -i "s|/config|$LOCATION|g" /etc/cont-init.d/*
|
||||
sed -i "s|/config|$LOCATION|g" /etc/services.d/*/run
|
||||
if [ -d /var/run/s6/container_environment ]; then printf "%s" "$LOCATION" > /var/run/s6/container_environment/HOME; fi
|
||||
if [ -d /var/run/s6/container_environment ]; then printf "%s" "$LOCATION" > /var/run/s6/container_environment/FM_HOME; fi
|
||||
printf "%s" "HOME=\"$LOCATION\"" >> ~/.bashrc
|
||||
printf "%s" "FM_HOME=\"$LOCATION\"" >> ~/.bashrc
|
||||
printf "%s\n" "HOME=\"$LOCATION\"" >> ~/.bashrc
|
||||
printf "%s\n" "FM_HOME=\"$LOCATION\"" >> ~/.bashrc
|
||||
|
||||
usermod --home "$LOCATION" abc
|
||||
|
||||
|
||||
Reference in New Issue
Block a user