mirror of
https://gitea.blesmrt.net/mikaela/shell-things.git
synced 2024-12-23 03:02:52 +01:00
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:
parent
17aad65fbc
commit
d11ff89c85
@ -221,8 +221,8 @@ if [[ $USER = "root" ]]; then
|
||||
mkdir -p /etc/apt/apt.conf.d/
|
||||
echo 'Dpkg::Progress-Fancy "1";' > /etc/apt/apt.conf.d/99progressbar
|
||||
echo 'APT::Color "1";' > /etc/apt/apt.conf.d/99color
|
||||
echo 'Acquire::http::Timeout "2";' > /etc/apt/apt.conf.d/99timeout
|
||||
echo 'Acquire::ftp::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
|
||||
fi
|
||||
|
||||
# Copied from http://homepages.see.leeds.ac.uk/~eeaol/notes/2012/03/how_to_only_type_ssh_passphrase_once/
|
||||
|
4
rc/zshrc
4
rc/zshrc
@ -187,8 +187,8 @@ if [[ $USER = "root" ]]; then
|
||||
mkdir -p /etc/apt/apt.conf.d/
|
||||
echo 'Dpkg::Progress-Fancy "1";' > /etc/apt/apt.conf.d/99progressbar
|
||||
echo 'APT::Color "1";' > /etc/apt/apt.conf.d/99color
|
||||
echo 'Acquire::http::Timeout "2";' > /etc/apt/apt.conf.d/99timeout
|
||||
echo 'Acquire::ftp::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
|
||||
fi
|
||||
|
||||
# In our series useless/weird environment variables, beep
|
||||
|
Loading…
Reference in New Issue
Block a user