mirror of
				https://code.forgejo.org/actions/forgejo-release.git
				synced 2025-11-04 06:41:57 +02:00 
			
		
		
		
	fix: reuse tea if already installed
This commit is contained in:
		
							parent
							
								
									b669ffeda7
								
							
						
					
					
						commit
						f531e9753a
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -29,7 +29,7 @@ export GNUPGHOME
 | 
			
		|||
setup_tea() {
 | 
			
		||||
    if which tea 2>/dev/null; then
 | 
			
		||||
        TEA_BIN=$(which tea)
 | 
			
		||||
    else ! test -f $TEA_BIN;
 | 
			
		||||
    elif ! test -f $TEA_BIN; then
 | 
			
		||||
        ARCH=$(dpkg --print-architecture)
 | 
			
		||||
        curl -sL https://dl.gitea.io/tea/$TEA_VERSION/tea-$TEA_VERSION-linux-"$ARCH" >$TEA_BIN
 | 
			
		||||
        chmod +x $TEA_BIN
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue