mirror of
				https://git.tt-rss.org/fox/ttrss-docker-compose
				synced 2025-11-04 09:54:13 +01:00 
			
		
		
		
	expect RESTORE_SCHEMA in SCRIPT_ROOT
This commit is contained in:
		
							parent
							
								
									7529767f49
								
							
						
					
					
						commit
						ef24fccd6f
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
					@ -62,7 +62,7 @@ done
 | 
				
			||||||
 | 
					
 | 
				
			||||||
$PSQL -c "create extension if not exists pg_trgm"
 | 
					$PSQL -c "create extension if not exists pg_trgm"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
RESTORE_SCHEMA=/var/www/html/tt-rss/backups/restore-schema.sql.gz
 | 
					RESTORE_SCHEMA=${SCRIPT_ROOT}/restore-schema.sql.gz
 | 
				
			||||||
 | 
					
 | 
				
			||||||
if [ -r $RESTORE_SCHEMA ]; then
 | 
					if [ -r $RESTORE_SCHEMA ]; then
 | 
				
			||||||
	zcat $RESTORE_SCHEMA | $PSQL
 | 
						zcat $RESTORE_SCHEMA | $PSQL
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue