WIP
This commit is contained in:
		
							
								
								
									
										15
									
								
								scripts/download_for_arch.sh
									
									
									
									
									
										Executable file
									
								
							
							
						
						
									
										15
									
								
								scripts/download_for_arch.sh
									
									
									
									
									
										Executable file
									
								
							@@ -0,0 +1,15 @@
 | 
			
		||||
#!/bin/sh
 | 
			
		||||
case $(uname -m) in
 | 
			
		||||
  "arm64"|"aarch64")
 | 
			
		||||
    PLATFORM="arm64"
 | 
			
		||||
    ;;
 | 
			
		||||
  "x86_64")
 | 
			
		||||
    PLATFORM="amd64"
 | 
			
		||||
    ;;
 | 
			
		||||
  *)
 | 
			
		||||
    echo "Unsuported target"
 | 
			
		||||
    exit 1
 | 
			
		||||
    ;;
 | 
			
		||||
esac
 | 
			
		||||
echo "Downloading $2 from $1"
 | 
			
		||||
curl -LJO $1 $2
 | 
			
		||||
		Reference in New Issue
	
	Block a user