fix quoting
This commit is contained in:
		
							parent
							
								
									c7cb342c77
								
							
						
					
					
						commit
						dfcbbd763a
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
					@ -53,7 +53,7 @@ done
 | 
				
			||||||
# Check if .env exists and exit if it is
 | 
					# Check if .env exists and exit if it is
 | 
				
			||||||
if [[ ! -f ./.env ]]; then
 | 
					if [[ ! -f ./.env ]]; then
 | 
				
			||||||
	cat ./env.template >> ./.env
 | 
						cat ./env.template >> ./.env
 | 
				
			||||||
	sed -i 's/\(PUBLIC_DOMAIN=\).*/\1${PUBLIC_DOMAIN}/' ./.env
 | 
						sed -i "s/\(PUBLIC_DOMAIN=\).*/\1${PUBLIC_DOMAIN}/" ./.env
 | 
				
			||||||
	echo "# SECRETS" >> ./.env
 | 
						echo "# SECRETS" >> ./.env
 | 
				
			||||||
	echo "PG_PASS=$(openssl rand -base64 36 | tr -d '\n')" >> ./.env
 | 
						echo "PG_PASS=$(openssl rand -base64 36 | tr -d '\n')" >> ./.env
 | 
				
			||||||
	echo "AUTHENTIK_SECRET_KEY=$(openssl rand -base64 60 | tr -d '\n')" >> ./.env
 | 
						echo "AUTHENTIK_SECRET_KEY=$(openssl rand -base64 60 | tr -d '\n')" >> ./.env
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue