This commit is contained in:
Jeffrey Paul 2021-06-10 16:37:23 -07:00
parent 4552b7cb38
commit be6e9b7b07

View File

@ -32,13 +32,14 @@ function set-mirror-country() {
MURM="main universe restricted multiverse" MURM="main universe restricted multiverse"
COUNTRY="$(detect-mirror-country)" COUNTRY="$(detect-mirror-country)"
URL="http://$COUNTRY.archive.ubuntu.com/ubuntu" URL="http://$COUNTRY.archive.ubuntu.com/ubuntu"
cat > /etc/apt/sources.list.new <<EOF cat > /etc/apt/sources.list.new <<EOF
deb $URL $(lsb_release -cs) $MURM deb $URL $(lsb_release -cs) $MURM
deb $URL $(lsb_release -cs)-updates $MURM deb $URL $(lsb_release -cs)-updates $MURM
deb $URL $(lsb_release -cs)-backports $MURM deb $URL $(lsb_release -cs)-backports $MURM
deb $URL $(lsb_release -cs)-security $MURM deb $URL $(lsb_release -cs)-security $MURM
EOF EOF
mv /etc/apt/sources.list.new /etc/apt/sources.list
} }
function prov-focal() { function prov-focal() {