mirror of
				https://github.com/f-droid/fdroidserver.git
				synced 2025-11-04 06:30:27 +03:00 
			
		
		
		
	
		
			
				
	
	
		
			11 lines
		
	
	
	
		
			298 B
		
	
	
	
		
			Bash
		
	
	
	
	
	
			
		
		
	
	
			11 lines
		
	
	
	
		
			298 B
		
	
	
	
		
			Bash
		
	
	
	
	
	
#!/bin/bash
 | 
						|
 | 
						|
echo $0
 | 
						|
set -e
 | 
						|
 | 
						|
rm -f /etc/apt/apt.conf.d/02proxy
 | 
						|
echo "Acquire::ftp::Proxy \"$1\";" >> /etc/apt/apt.conf.d/02proxy
 | 
						|
echo "Acquire::http::Proxy \"$1\";" >> /etc/apt/apt.conf.d/02proxy
 | 
						|
echo "Acquire::https::Proxy \"$1\";" >> /etc/apt/apt.conf.d/02proxy
 | 
						|
 | 
						|
apt-get update || apt-get update
 |