mirror of
				https://github.com/f-droid/fdroidserver.git
				synced 2025-11-04 06:30:27 +03:00 
			
		
		
		
	provisioners: work around apt-get update problem
This commit is contained in:
		
							parent
							
								
									15d422b01b
								
							
						
					
					
						commit
						10e3165e41
					
				
					 2 changed files with 3 additions and 3 deletions
				
			
		| 
						 | 
				
			
			@ -16,7 +16,7 @@ printf 'APT::Periodic::Update-Package-Lists "0";\nAPT::Periodic::Unattended-Upgr
 | 
			
		|||
       > /etc/apt/apt.conf.d/99no-auto-updates
 | 
			
		||||
 | 
			
		||||
if echo $debian_mirror | grep '^https' 2>&1 > /dev/null; then
 | 
			
		||||
    apt-get -y update
 | 
			
		||||
    apt-get -y update || apt-get -y update
 | 
			
		||||
    apt-get -y install apt-transport-https ca-certificates
 | 
			
		||||
fi
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			@ -30,7 +30,7 @@ fi
 | 
			
		|||
 | 
			
		||||
dpkg --add-architecture i386
 | 
			
		||||
 | 
			
		||||
apt-get -y update
 | 
			
		||||
apt-get -y update || apt-get -y update
 | 
			
		||||
apt-get -y upgrade --download-only
 | 
			
		||||
apt-get -y upgrade
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -8,4 +8,4 @@ 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 || apt-get update
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue