Update tandoor-install.sh
fix sed
This commit is contained in:
parent
6dc6d3cb14
commit
b1974f5e0e
1 changed files with 1 additions and 1 deletions
|
@ -72,7 +72,7 @@ sed -i -e "s|SECRET_KEY=.*|SECRET_KEY=$secret_key|g" \
|
||||||
-e "s|POSTGRES_PASSWORD=.*|POSTGRES_PASSWORD=$DB_PASS|g" \
|
-e "s|POSTGRES_PASSWORD=.*|POSTGRES_PASSWORD=$DB_PASS|g" \
|
||||||
-e "s|POSTGRES_DB=.*|POSTGRES_DB=$DB_NAME|g" \
|
-e "s|POSTGRES_DB=.*|POSTGRES_DB=$DB_NAME|g" \
|
||||||
-e "s|POSTGRES_USER=.*|POSTGRES_USER=$DB_USER|g" \
|
-e "s|POSTGRES_USER=.*|POSTGRES_USER=$DB_USER|g" \
|
||||||
-e "\$a\STATIC_URL=/staticfiles\\nMEDIA_URL=/mediafiles" /opt/tandoor/.env
|
-e "\$a\\STATIC_URL=/staticfiles/\nMEDIA_URL=/mediafiles/" /opt/tandoor/.env
|
||||||
msg_ok "Installed Tandoor"
|
msg_ok "Installed Tandoor"
|
||||||
|
|
||||||
msg_info "Setting up PostgreSQL database"
|
msg_info "Setting up PostgreSQL database"
|
||||||
|
|
Loading…
Reference in a new issue