mirror of
				https://git.tt-rss.org/fox/ttrss-docker-compose
				synced 2025-11-04 03:04:14 +01:00 
			
		
		
		
	set core.filemode false on local repos before pulling updates, bind to 127.0.0.1 only by default
This commit is contained in:
		
							parent
							
								
									0deb1d6736
								
							
						
					
					
						commit
						7e9addf1a3
					
				
					 2 changed files with 7 additions and 3 deletions
				
			
		| 
						 | 
				
			
			@ -13,13 +13,17 @@ if [ ! -d $DST_DIR ]; then
 | 
			
		|||
	mkdir -p $DST_DIR
 | 
			
		||||
	git clone $SRC_REPO $DST_DIR
 | 
			
		||||
else
 | 
			
		||||
	cd $DST_DIR && git pull origin master
 | 
			
		||||
	cd $DST_DIR && \
 | 
			
		||||
		git config core.filemode false && \
 | 
			
		||||
		git pull origin master
 | 
			
		||||
fi
 | 
			
		||||
 | 
			
		||||
if [ ! -d $DST_DIR/plugins.local/nginx_xaccel ]; then
 | 
			
		||||
	git clone https://git.tt-rss.org/fox/ttrss-nginx-xaccel.git $DST_DIR/plugins.local/nginx_xaccel
 | 
			
		||||
else
 | 
			
		||||
	cd $DST_DIR/plugins.local/nginx_xaccel && git pull origin master
 | 
			
		||||
	cd $DST_DIR/plugins.local/nginx_xaccel && \
 | 
			
		||||
		git config core.filemode false && \
 | 
			
		||||
	  	git pull origin master
 | 
			
		||||
fi
 | 
			
		||||
 | 
			
		||||
chown -R $OWNER_UID:$OWNER_GID $DST_DIR
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue