[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#255651: Acknowledgement (base-config: apt-config should ask for proxy if not configured)



tags 255651 patch
thanks

The attached patch should allow apt-setup asking about a proxy is no
proxy has been setup yet.

This patch is *untested*. 




627a628,635
> 		# Ask about a proxy if no proxy is yet defined.
> 		if [ -z "$http_proxy" ]; then
> 			if [ ! -e "$APTETC/apt.conf" ] || \
> 			   ! grep -iq 'Acquire::http::Proxy' $APTETC/apt.conf; then
> 				db_input high mirror/http/proxy || true
> 				db_go || continue
> 			fi
> 		fi

Reply to: