update
This commit is contained in:
1 parent
75f779c450
commit
742c57927f
1 file changed
+5
-26
@@ -17,28 +17,10 @@ AWD=$(dirname "$SCRIPT")
|
||||
choose_sites(){
|
||||
case $MIRROR_SOURCE in
|
||||
1)
|
||||
MIRROR_URL=https://mirrors.nju.edu.cn/debian/
|
||||
SEC_URL=https://mirrors.nju.edu.cn/debian-security
|
||||
DOCKER_URL=https://mirrors.nju.edu.cn/docker-ce/linux/debian
|
||||
PVE_URL=https://mirrors.nju.edu.cn/proxmox/debian/pve
|
||||
;;
|
||||
2)
|
||||
MIRROR_URL=https://mirrors.xjtu.edu.cn/debian/
|
||||
SEC_URL=https://mirrors.xjtu.edu.cn/debian-security
|
||||
DOCKER_URL=https://mirrors.xjtu.edu.cn/docker-ce/linux/debian
|
||||
PVE_URL=https://mirrors.ustc.edu.cn/proxmox/debian/pve
|
||||
;;
|
||||
3)
|
||||
MIRROR_URL=https://mirrors.ustc.edu.cn/debian/
|
||||
SEC_URL=https://mirrors.ustc.edu.cn/debian-security
|
||||
DOCKER_URL=https://mirrors.ustc.edu.cn/docker-ce/linux/debian
|
||||
PVE_URL=https://mirrors.ustc.edu.cn/proxmox/debian/pve
|
||||
;;
|
||||
4)
|
||||
MIRROR_URL=https://mirrors.tuna.tsinghua.edu.cn/debian/
|
||||
SEC_URL=https://mirrors.tuna.tsinghua.edu.cn/debian-security
|
||||
DOCKER_URL=https://mirrors.tuna.tsinghua.edu.cn/docker-ce/linux/debian
|
||||
PVE_URL=https://mirrors.tuna.tsinghua.edu.cn/proxmox/debian/pve
|
||||
MIRROR_URL=https://mirrors.cernet.edu.cn/debian/
|
||||
SEC_URL=https://mirrors.cernet.edu.cn/debian-security
|
||||
DOCKER_URL=https://mirrors.cernet.edu.cn/docker-ce/linux/debian
|
||||
PVE_URL=https://mirrors.cernet.edu.cn/proxmox/debian/pve
|
||||
;;
|
||||
*)
|
||||
MIRROR_URL=https://deb.debian.org/debian/
|
||||
@@ -121,10 +103,7 @@ usage(){
|
||||
echo " -c config only";
|
||||
echo " -m <CHOICE> apt mirror source";
|
||||
echo " * official"
|
||||
echo " 1 nju (default)"
|
||||
echo " 2 xjtu"
|
||||
echo " 3 ustc"
|
||||
echo " 4 tsinghua"
|
||||
echo " 1 cernet (default)"
|
||||
}
|
||||
|
||||
PKG_BASE="$AWD/packages-base"
|
||||
|
||||
Reference in new issue
Block a user