Update apt-cacher-ng-install.sh

tweak `sed` command
pull/2345/head
tteckster 10 months ago committed by GitHub
parent 72fb5c396d
commit 87b7fc7a94
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -21,7 +21,7 @@ msg_ok "Installed Dependencies"
msg_info "Installing Apt-Cacher NG" msg_info "Installing Apt-Cacher NG"
DEBIAN_FRONTEND=noninteractive $STD apt-get -o Dpkg::Options::="--force-confold" install -y apt-cacher-ng DEBIAN_FRONTEND=noninteractive $STD apt-get -o Dpkg::Options::="--force-confold" install -y apt-cacher-ng
sed -i 's/# \(PassThroughPattern: .* # this would allow CONNECT to everything\)/\1/' /etc/apt-cacher-ng/acng.conf sed -i 's/# PassThroughPattern: .* # this would allow CONNECT to everything/PassThroughPattern: .* /' /etc/apt-cacher-ng/acng.conf
systemctl enable -q --now apt-cacher-ng systemctl enable -q --now apt-cacher-ng
msg_ok "Installed Apt-Cacher NG" msg_ok "Installed Apt-Cacher NG"

Loading…
Cancel
Save

Powered by BW's shoe-string budget.