mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-01-11 02:11:01 +01:00
lint
This commit is contained in:
@@ -49,8 +49,10 @@ if [ -d /var/run/s6/container_environment ]; then
|
||||
printf "%s" "$LOCATION" > /var/run/s6/container_environment/FM_HOME
|
||||
fi
|
||||
if [ -f ~/.bashrc ]; then
|
||||
printf "%s" "HOME=\"$LOCATION\"" >> ~/.bashrc
|
||||
printf "%s" "FM_HOME=\"$LOCATION\"" >> ~/.bashrc
|
||||
{
|
||||
printf "%s" "HOME=\"$LOCATION\""
|
||||
printf "%s" "FM_HOME=\"$LOCATION\""
|
||||
} >> ~/.bashrc
|
||||
fi
|
||||
|
||||
usermod --home "$LOCATION" abc
|
||||
|
||||
Reference in New Issue
Block a user