Update 'apt-mirror.sh'
This commit is contained in:
parent
0af785f7e9
commit
b528d95761
@ -3,16 +3,16 @@
|
|||||||
UBUNTU_VERSION=$(lsb_release -cs)
|
UBUNTU_VERSION=$(lsb_release -cs)
|
||||||
|
|
||||||
tee -a sources.list << EOF
|
tee -a sources.list << EOF
|
||||||
deb http://apt.internal.cubetiqs.com/ubuntu ${UBUNTU_VERSION} main restricted
|
deb https://mirror.ctdn.net/ubuntu ${UBUNTU_VERSION} main restricted
|
||||||
deb http://apt.internal.cubetiqs.com/ubuntu ${UBUNTU_VERSION}-updates main restricted
|
deb https://mirror.ctdn.net/ubuntu ${UBUNTU_VERSION}-updates main restricted
|
||||||
deb http://apt.internal.cubetiqs.com/ubuntu ${UBUNTU_VERSION} universe
|
deb https://mirror.ctdn.net/ubuntu ${UBUNTU_VERSION} universe
|
||||||
deb http://apt.internal.cubetiqs.com/ubuntu ${UBUNTU_VERSION}-updates universe
|
deb https://mirror.ctdn.net/ubuntu ${UBUNTU_VERSION}-updates universe
|
||||||
deb http://apt.internal.cubetiqs.com/ubuntu ${UBUNTU_VERSION} multiverse
|
deb https://mirror.ctdn.net/ubuntu ${UBUNTU_VERSION} multiverse
|
||||||
deb http://apt.internal.cubetiqs.com/ubuntu ${UBUNTU_VERSION}-updates multiverse
|
deb https://mirror.ctdn.net/ubuntu ${UBUNTU_VERSION}-updates multiverse
|
||||||
deb http://apt.internal.cubetiqs.com/ubuntu ${UBUNTU_VERSION}-backports main restricted universe multiverse
|
deb https://mirror.ctdn.net/ubuntu ${UBUNTU_VERSION}-backports main restricted universe multiverse
|
||||||
deb http://apt.internal.cubetiqs.com/ubuntu ${UBUNTU_VERSION}-security main restricted
|
deb https://mirror.ctdn.net/ubuntu ${UBUNTU_VERSION}-security main restricted
|
||||||
deb http://apt.internal.cubetiqs.com/ubuntu ${UBUNTU_VERSION}-security universe
|
deb https://mirror.ctdn.net/ubuntu ${UBUNTU_VERSION}-security universe
|
||||||
deb http://apt.internal.cubetiqs.com/ubuntu ${UBUNTU_VERSION}-security multiverse
|
deb https://mirror.ctdn.net/ubuntu ${UBUNTU_VERSION}-security multiverse
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
mv /etc/apt/sources.list /etc/apt/sources.list.bak
|
mv /etc/apt/sources.list /etc/apt/sources.list.bak
|
||||||
|
Loading…
Reference in New Issue
Block a user