From 19068da3f889e3898c9e1a711a6fe1fef9520bd6 Mon Sep 17 00:00:00 2001 From: David Tomaschik Date: Sat, 18 Aug 2018 16:15:00 -0700 Subject: [PATCH] Fix _install_apt_proxy.sh --- bin/_install_apt_proxy.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/bin/_install_apt_proxy.sh b/bin/_install_apt_proxy.sh index afa3f13..9dad6b4 100755 --- a/bin/_install_apt_proxy.sh +++ b/bin/_install_apt_proxy.sh @@ -5,6 +5,7 @@ set -o nounset if test -f /etc/apt/apt.conf.d/90-proxy ; then echo "Looks already setup." + exit 0 fi cat >/etc/apt/proxy-detect <<'EOF' @@ -25,7 +26,7 @@ fi echo DIRECT EOF -chmod +x /etc/apt/proxy-detect +chmod 755 /etc/apt/proxy-detect cat >/etc/apt/apt.conf.d/90-proxy <<'EOF' Acquire::http::Proxy-Auto-Detect "/etc/apt/proxy-detect";