bbb-install
bbb-install copied to clipboard
don't set PROXY PORT
Hi,
I need to use proxy to install bbb and bbb-install-2.5.sh have an option -p <host> Use apt-get proxy at <host>
but there are an error with PROXY PORT.
You "force" to use 3142 PORT but my PROXY use 3128
p)
PROXY=$OPTARG
if [ -n "$PROXY" ]; then
echo "Acquire::http::Proxy \"http://$PROXY:3142\";" > /etc/apt/apt.conf.d/01proxy
fi
;;
I propose to remove it
-p <host> Use apt-get proxy at <host:port>
p)
PROXY=$OPTARG
if [ -n "$PROXY" ]; then
echo "Acquire::http::Proxy \"http://$PROXY\";" > /etc/apt/apt.conf.d/01proxy
fi
;;
What do you think ?
Regards
My squid proxy also listens on 3128, but it looks like apt-cacher-ng listens on 3142, which is probably why this is the default.
I suggest leaving the default alone, and introducing an optional port number with the syntax @prbond suggested.