We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 04d6171 commit 246c6e9Copy full SHA for 246c6e9
install/apt-cacher-ng-install.sh
@@ -16,6 +16,9 @@ update_os
16
msg_info "Installing Apt-Cacher NG"
17
DEBIAN_FRONTEND=noninteractive $STD apt-get -o Dpkg::Options::="--force-confold" install -y apt-cacher-ng
18
sed -i 's/# PassThroughPattern: .* # this would allow CONNECT to everything/PassThroughPattern: .*/' /etc/apt-cacher-ng/acng.conf
19
+cat << EOF >/etc/apt/apt.conf.d/00aptproxy.conf
20
+Acquire::http::Proxy "http://localhost:3142";
21
+EOF
22
systemctl enable -q --now apt-cacher-ng
23
msg_ok "Installed Apt-Cacher NG"
24
0 commit comments