blob: 6aa7c5578987afd9bb88eb362102c01e52317156 (
plain)
1
2
3
4
5
6
7
|
#!/bin/bash
sed -i '/#!\/bin\/bash/a\
cat > /etc/apt/apt.conf.d/30proxy<<EOF\
Acquire::http { Proxy "http://10.145.122.118:3142"; };\
Acquire::https::Proxy "DIRECT";\
EOF\
apt-get -y update' $1
|