shellrc: disable apt Happy Eyeballs workaround

I think apt has fixed it and this has started being more problem than
solution.

This just breaks my nice gpg signed streak :(

Signed-off-by: Mikaela Suomalainen <mikaela+git@mikaela.info>
This commit is contained in:
Aminda Suomalainen 2018-04-18 17:25:09 +03:00 committed by Mikaela Suomalainen
parent 17aad65fbc
commit d11ff89c85
2 changed files with 4 additions and 4 deletions

View File

@ -221,8 +221,8 @@ if [[ $USER = "root" ]]; then
mkdir -p /etc/apt/apt.conf.d/ mkdir -p /etc/apt/apt.conf.d/
echo 'Dpkg::Progress-Fancy "1";' > /etc/apt/apt.conf.d/99progressbar echo 'Dpkg::Progress-Fancy "1";' > /etc/apt/apt.conf.d/99progressbar
echo 'APT::Color "1";' > /etc/apt/apt.conf.d/99color echo 'APT::Color "1";' > /etc/apt/apt.conf.d/99color
echo 'Acquire::http::Timeout "2";' > /etc/apt/apt.conf.d/99timeout # echo 'Acquire::http::Timeout "2";' > /etc/apt/apt.conf.d/99timeout
echo 'Acquire::ftp::Timeout "2";' >> /etc/apt/apt.conf.d/99timeout # echo 'Acquire::ftp::Timeout "2";' >> /etc/apt/apt.conf.d/99timeout
fi fi
# Copied from http://homepages.see.leeds.ac.uk/~eeaol/notes/2012/03/how_to_only_type_ssh_passphrase_once/ # Copied from http://homepages.see.leeds.ac.uk/~eeaol/notes/2012/03/how_to_only_type_ssh_passphrase_once/

View File

@ -187,8 +187,8 @@ if [[ $USER = "root" ]]; then
mkdir -p /etc/apt/apt.conf.d/ mkdir -p /etc/apt/apt.conf.d/
echo 'Dpkg::Progress-Fancy "1";' > /etc/apt/apt.conf.d/99progressbar echo 'Dpkg::Progress-Fancy "1";' > /etc/apt/apt.conf.d/99progressbar
echo 'APT::Color "1";' > /etc/apt/apt.conf.d/99color echo 'APT::Color "1";' > /etc/apt/apt.conf.d/99color
echo 'Acquire::http::Timeout "2";' > /etc/apt/apt.conf.d/99timeout # echo 'Acquire::http::Timeout "2";' > /etc/apt/apt.conf.d/99timeout
echo 'Acquire::ftp::Timeout "2";' >> /etc/apt/apt.conf.d/99timeout # echo 'Acquire::ftp::Timeout "2";' >> /etc/apt/apt.conf.d/99timeout
fi fi
# In our series useless/weird environment variables, beep # In our series useless/weird environment variables, beep