bbb-install icon indicating copy to clipboard operation
bbb-install copied to clipboard

don't set PROXY PORT

Open prbond opened this issue 2 years ago • 1 comments

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

prbond avatar Nov 04 '22 10:11 prbond

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.

BrentBaccala avatar Nov 18 '22 03:11 BrentBaccala