Update 'apt-mirror.sh'
This commit is contained in:
parent
0ea911ed3b
commit
115d8fabc2
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
UBUNTU_VERSION=$(lsb_release -cs)
|
UBUNTU_VERSION=$(lsb_release -cs)
|
||||||
|
|
||||||
tee -a aptmirror.list << EOF
|
tee -a sources.list << EOF
|
||||||
deb http://apt.internal.cubetiqs.com/ubuntu ${UBUNTU_VERSION} main restricted
|
deb http://apt.internal.cubetiqs.com/ubuntu ${UBUNTU_VERSION} main restricted
|
||||||
deb http://apt.internal.cubetiqs.com/ubuntu ${UBUNTU_VERSION}-updates main restricted
|
deb http://apt.internal.cubetiqs.com/ubuntu ${UBUNTU_VERSION}-updates main restricted
|
||||||
deb http://apt.internal.cubetiqs.com/ubuntu ${UBUNTU_VERSION} universe
|
deb http://apt.internal.cubetiqs.com/ubuntu ${UBUNTU_VERSION} universe
|
||||||
@ -13,4 +13,7 @@ deb http://apt.internal.cubetiqs.com/ubuntu ${UBUNTU_VERSION}-backports main res
|
|||||||
deb http://apt.internal.cubetiqs.com/ubuntu ${UBUNTU_VERSION}-security main restricted
|
deb http://apt.internal.cubetiqs.com/ubuntu ${UBUNTU_VERSION}-security main restricted
|
||||||
deb http://apt.internal.cubetiqs.com/ubuntu ${UBUNTU_VERSION}-security universe
|
deb http://apt.internal.cubetiqs.com/ubuntu ${UBUNTU_VERSION}-security universe
|
||||||
deb http://apt.internal.cubetiqs.com/ubuntu ${UBUNTU_VERSION}-security multiverse
|
deb http://apt.internal.cubetiqs.com/ubuntu ${UBUNTU_VERSION}-security multiverse
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
|
mv /etc/apt/sources.list /etc/apt/sources.list.bak
|
||||||
|
mv sources.list /etc/apt/sources.list
|
Loading…
Reference in New Issue
Block a user