Re: debootstrap 1.0.93+nmu5
On Tue, 03 Apr 2018, Hideki Yamane wrote:
> +if [ -e /usr/bin/apt-config ]; then
In case like this, you usually use "-x" to ensure it's also executable.
> + eval $(apt-config shell AUTOPROXY Acquire::http::ProxyAutoDetect)
> + if [ -z "$http_proxy" ] && [ -x "$AUTOPROXY" ]; then
> + http_proxy="$($AUTOPROXY)"
> + if [ -n "$http_proxy" ]; then
> + echo "Using auto-detected proxy: $http_proxy"
> + export http_proxy
> + fi
> fi
> fi
> -
>
--
Raphaël Hertzog ◈ Debian Developer
Support Debian LTS: https://www.freexian.com/services/debian-lts.html
Learn to master Debian: https://debian-handbook.info/get/
Reply to: