mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-05-21 16:21:51 +02:00
Add line breaks in bashrc https://github.com/alexbelgium/hassio-addons/issues/1557
This commit is contained in:
@@ -24,7 +24,7 @@ export IMMICH_MEDIA_LOCATION="$DATA_LOCATION"
|
||||
if [ -d /var/run/s6/container_environment ]; then
|
||||
printf "%s" "$DATA_LOCATION" > /var/run/s6/container_environment/IMMICH_MEDIA_LOCATION
|
||||
fi
|
||||
printf "%s" "IMMICH_MEDIA_LOCATION=\"$DATA_LOCATION\"" >> ~/.bashrc
|
||||
printf "%s\n" "IMMICH_MEDIA_LOCATION=\"$DATA_LOCATION\"" >> ~/.bashrc
|
||||
|
||||
echo "... check $DATA_LOCATION folder exists"
|
||||
mkdir -p "$DATA_LOCATION"
|
||||
|
||||
@@ -83,12 +83,12 @@ if [ -d /var/run/s6/container_environment ]; then
|
||||
fi
|
||||
|
||||
{
|
||||
printf "%s" "DB_USERNAME=\"$DB_USERNAME\""
|
||||
printf "%s" "DB_PASSWORD=\"$DB_PASSWORD\""
|
||||
printf "%s" "DB_DATABASE_NAME=\"$DB_DATABASE_NAME\""
|
||||
printf "%s" "DB_PORT=\"$DB_PORT\""
|
||||
printf "%s" "DB_HOSTNAME=\"$DB_HOSTNAME\""
|
||||
printf "%s" "JWT_SECRET=\"$JWT_SECRET\""
|
||||
printf "%s\n" "DB_USERNAME=\"$DB_USERNAME\""
|
||||
printf "%s\n" "DB_PASSWORD=\"$DB_PASSWORD\""
|
||||
printf "%s\n" "DB_DATABASE_NAME=\"$DB_DATABASE_NAME\""
|
||||
printf "%s\n" "DB_PORT=\"$DB_PORT\""
|
||||
printf "%s\n" "DB_HOSTNAME=\"$DB_HOSTNAME\""
|
||||
printf "%s\n"n" "JWT_SECRET=\"$JWT_SECRET\""
|
||||
} >> ~/.bashrc
|
||||
|
||||
###################
|
||||
|
||||
Reference in New Issue
Block a user