update-alternatives for python3.10

This commit is contained in:
m0duspwnens
2023-07-03 15:44:51 -04:00
parent 0d43f9aaf4
commit df0e19ff80

View File

@@ -2012,7 +2012,7 @@ saltify() {
if [[ $is_ubuntu ]]; then if [[ $is_ubuntu ]]; then
DEBIAN_FRONTEND=noninteractive retry 150 20 "apt-get -y -o Dpkg::Options::=\"--force-confdef\" -o Dpkg::Options::=\"--force-confold\" upgrade" >> "$setup_log" 2>&1 || fail_setup DEBIAN_FRONTEND=noninteractive retry 150 20 "apt-get -y -o Dpkg::Options::=\"--force-confdef\" -o Dpkg::Options::=\"--force-confold\" upgrade" >> "$setup_log" 2>&1 || fail_setup
update-alternatives --install /usr/bin/python python /usr/bin/python3.8 10 update-alternatives --install /usr/bin/python python /usr/bin/python3.10 10
local pkg_arr=( local pkg_arr=(
'apache2-utils' 'apache2-utils'
'ca-certificates' 'ca-certificates'