update
This commit is contained in:
1 parent
42b58938bb
commit
7081c8570f
1 file changed
+12
-12
@@ -15,10 +15,10 @@ SCRIPTPATH=$(dirname "$SCRIPT")
|
||||
choose_sites(){
|
||||
case $MIRROR_SOURCE in
|
||||
1)
|
||||
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
|
||||
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/
|
||||
@@ -27,10 +27,10 @@ choose_sites(){
|
||||
PVE_URL=https://mirrors.ustc.edu.cn/proxmox/debian/pve
|
||||
;;
|
||||
3)
|
||||
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
|
||||
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/
|
||||
@@ -140,11 +140,11 @@ usage(){
|
||||
echo " -i install only";
|
||||
echo " -p pve";
|
||||
echo " -m <CHOICE> apt mirror source";
|
||||
echo " 1 ustc (default)"
|
||||
echo " 2 xjtu"
|
||||
echo " 3 nju"
|
||||
echo " 4 tsinghua"
|
||||
echo " * official"
|
||||
echo " 1 nju (default)"
|
||||
echo " 2 xjtu"
|
||||
echo " 3 ustc"
|
||||
echo " 4 tsinghua"
|
||||
}
|
||||
|
||||
PKG_BASE="$SCRIPTPATH/packages-base"
|
||||
|
||||
Reference in new issue
Block a user