Skip to content

Commit 246c6e9

Browse files
authored
1 parent 04d6171 commit 246c6e9

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

install/apt-cacher-ng-install.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,9 @@ update_os
1616
msg_info "Installing Apt-Cacher NG"
1717
DEBIAN_FRONTEND=noninteractive $STD apt-get -o Dpkg::Options::="--force-confold" install -y apt-cacher-ng
1818
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
1922
systemctl enable -q --now apt-cacher-ng
2023
msg_ok "Installed Apt-Cacher NG"
2124

0 commit comments

Comments
 (0)