use TELEBIT_VERSION
This commit is contained in:
		
							parent
							
								
									de7221ef37
								
							
						
					
					
						commit
						cd37449e97
					
				@ -73,9 +73,9 @@ export -f http_bash
 | 
				
			|||||||
##       END HTTP_GET        ##
 | 
					##       END HTTP_GET        ##
 | 
				
			||||||
###############################
 | 
					###############################
 | 
				
			||||||
 | 
					
 | 
				
			||||||
my_branch=master
 | 
					TELEBIT_VERSION=${TELEBIT_VERSION:-master}
 | 
				
			||||||
if [ -e "usr/share/install_helper.sh" ]; then
 | 
					if [ -e "usr/share/install_helper.sh" ]; then
 | 
				
			||||||
  bash usr/share/install_helper.sh "$@"
 | 
					  bash usr/share/install_helper.sh "$@"
 | 
				
			||||||
else
 | 
					else
 | 
				
			||||||
  http_bash https://git.coolaj86.com/coolaj86/telebit.js/raw/branch/$my_branch/usr/share/install_helper.sh "$@"
 | 
					  http_bash https://git.coolaj86.com/coolaj86/telebit.js/raw/branch/$TELEBIT_VERSION/usr/share/install_helper.sh "$@"
 | 
				
			||||||
fi
 | 
					fi
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user