Update apt-cacher-ng-install.sh

remove space in sed command
This commit is contained in:
tteckster 2024-01-19 20:55:44 -05:00 committed by GitHub
parent 052b2f3982
commit e6e2b98854
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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/PassThroughPattern: .* /' /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"