diff --git a/updatemirror.sh b/updatemirror.sh index e1e2325..025c0bf 100644 --- a/updatemirror.sh +++ b/updatemirror.sh @@ -33,7 +33,7 @@ function main () { echo "Changing mirror country to US as a first approximation..." > /dev/stderr find /etc/apt/sources.list.d/ -type f -exec \ - sed -i "s|archive\.ubuntu\.com|us.ubuntu.com|g" {} + + sed -i "s|archive\.ubuntu\.com|us.archive.ubuntu.com|g" {} + echo "Detecting actual country..." > /dev/stderr