mirror of
https://gitlab.com/fdroid/fdroidserver.git
synced 2024-11-18 20:50:10 +01:00
12 lines
280 B
Plaintext
12 lines
280 B
Plaintext
|
#!/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
|