Split to give on and off for apt-proxy.
This commit is contained in:
parent
01dd5a5f96
commit
cb5eb50cfe
|
|
@ -0,0 +1,3 @@
|
|||
#!/usr/bin/env bash
|
||||
bash -c 'rm /etc/apt/apt.conf.d/02proxy'
|
||||
|
||||
|
|
@ -0,0 +1,6 @@
|
|||
#!/usr/bin/env bash
|
||||
bash -c 'cat > /etc/apt/apt.conf.d/02proxy' << 'EOF'
|
||||
Acquire::http { Proxy "http://192.168.1.50:3142"; };
|
||||
#Acquire::http { Proxy "http://192.168.1.65:3142"; };
|
||||
EOF
|
||||
|
||||
Loading…
Reference in New Issue