diff --git a/bash/ovh-rescue.sh b/bash/ovh-rescue.sh index 16f1abf..f04d157 100644 --- a/bash/ovh-rescue.sh +++ b/bash/ovh-rescue.sh @@ -12,15 +12,15 @@ Acquire::Check-Valid-Until True; APT::Install-Recommends False; APT::Install-Suggests False; APT::Get::Show-Versions True; -Dir::Etc::SourceParts ''; +Dir::Etc::SourceParts \"\"; Dpkg::Progress True; -" >"/etc/apt/apt.conf" +" >"/etc/apt/apt.conf.d/apt.conf" # apt / sources printf "\ -deb https://deb.debian.org/debian buster main contrib non-free -deb https://deb.debian.org/debian buster-backports main contrib non-free -deb https://deb.debian.org/debian buster-updates main contrib non-free -deb https://deb.debian.org/debian-security buster/updates main contrib non-free +deb https://deb.debian.org/debian ${release} main non-free-firmware contrib non-free +deb https://deb.debian.org/debian ${release}-backports main non-free-firmware contrib non-free +deb https://deb.debian.org/debian ${release}-updates main non-free-firmware contrib non-free +deb https://deb.debian.org/debian-security ${release}-security main non-free-firmware contrib non-free " >"/etc/apt/sources.list" # bash / rc main_link_bashrc @@ -31,9 +31,6 @@ deb https://deb.debian.org/debian-security buster/updates main contrib non-free en_US.UTF-8 UTF-8 fr_FR.UTF-8 UTF-8 " >"/etc/locale.gen" - # fix alias - rm --force "/usr/share/locale/locale.alias" - ln --symbolic "/etc/locale.alias" "/usr/share/locale/locale.alias" # generate locales locale-gen # update catalog