mirror of
https://github.com/tteck/Proxmox.git
synced 2024-12-23 15:38:50 +01:00
Update apt-cacher-ng-install.sh
tweak `sed` command
This commit is contained in:
parent
72fb5c396d
commit
87b7fc7a94
@ -21,7 +21,7 @@ msg_ok "Installed Dependencies"
|
||||
|
||||
msg_info "Installing 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
|
||||
msg_ok "Installed Apt-Cacher NG"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user