From c13e11d57ee108b3137544fac952a78649ddf80b Mon Sep 17 00:00:00 2001 From: Patrick Schleizer Date: Sat, 12 Sep 2015 18:34:49 +0000 Subject: [PATCH] fixed 'Debian 8 apt.config.d misconfiguration' prevent the Acquire::http::Proxy setting ending up multiple times inside /etc/apt/apt.conf.d/01qubes-proxy (reported by @Scinawa) https://github.com/QubesOS/qubes-issues/issues/1186 --- vm-systemd/misc-post.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vm-systemd/misc-post.sh b/vm-systemd/misc-post.sh index f5c0025..11ef88d 100755 --- a/vm-systemd/misc-post.sh +++ b/vm-systemd/misc-post.sh @@ -2,7 +2,7 @@ if [ -f /var/run/qubes-service/yum-proxy-setup -o -f /var/run/qubes-service/updates-proxy-setup ]; then if [ -d /etc/apt/apt.conf.d ]; then - echo 'Acquire::http::Proxy "http://10.137.255.254:8082/";' >> /etc/apt/apt.conf.d/01qubes-proxy + echo 'Acquire::http::Proxy "http://10.137.255.254:8082/";' > /etc/apt/apt.conf.d/01qubes-proxy fi if [ -d /etc/yum.conf.d ]; then echo proxy=http://10.137.255.254:8082/ > /etc/yum.conf.d/qubes-proxy.conf