mirror of
				https://github.com/python-pillow/Pillow.git
				synced 2025-10-30 23:47:27 +03:00 
			
		
		
		
	
		
			
				
	
	
		
			13 lines
		
	
	
		
			237 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable File
		
	
	
	
	
			
		
		
	
	
			13 lines
		
	
	
		
			237 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable File
		
	
	
	
	
| #!/bin/sh
 | |
| # Usage: ./download-and-extract.sh something https://example.com/something.tar.gz
 | |
| 
 | |
| archive=$1
 | |
| url=$2
 | |
| 
 | |
| if [ ! -f $archive.tar.gz ]; then
 | |
|     wget --no-verbose -O $archive.tar.gz $url
 | |
| fi
 | |
| 
 | |
| rmdir $archive
 | |
| tar -xvzf $archive.tar.gz
 |