fix build bug,APT_MIRROR select

This commit is contained in:
Qubot 2024-04-08 20:45:00 +08:00
parent b21390a362
commit 16179d159e

View File

@ -649,7 +649,7 @@ This runs *after* user_config. Don't change anything not coming from other varia
EXTENSION_PREPARE_CONFIG
# apt-cacher-ng mirror configurarion
if [[ $DISTRIBUTION == Ubuntu ]]; then
if [[ $DISTRIBUTION == Ubuntu22.04 ]]; then
APT_MIRROR=$UBUNTU_MIRROR
else
APT_MIRROR=$DEBIAN_MIRROR