mirror of
				https://github.com/community-scripts/ProxmoxVE.git
				synced 2025-11-04 10:22:50 +00:00 
			
		
		
		
	Tandoor Recipes: Capture version information when installing (#4633)
* Capture version information when installing Tandoor When installing Tandoor, run the version.py script to record version information. * Set up Tandoor version earlier Move Tandoor's version script execution into main install block.
This commit is contained in:
		@@ -75,6 +75,8 @@ sed -i -e "s|SECRET_KEY=.*|SECRET_KEY=$secret_key|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/" /opt/tandoor/.env
 | 
					  -e "\$a\STATIC_URL=/staticfiles/" /opt/tandoor/.env
 | 
				
			||||||
 | 
					cd /opt/tandoor
 | 
				
			||||||
 | 
					$STD python3 version.py
 | 
				
			||||||
msg_ok "Installed Tandoor"
 | 
					msg_ok "Installed Tandoor"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
msg_info "Install/Set up PostgreSQL Database"
 | 
					msg_info "Install/Set up PostgreSQL Database"
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user