2021-09-03 10:57:55 +07:00
|
|
|
#!/bin/sh -e
|
|
|
|
|
|
|
|
UBUNTU_VERSION=$(lsb_release -cs)
|
|
|
|
|
2021-09-03 11:02:58 +07:00
|
|
|
tee -a sources.list << EOF
|
2021-09-03 10:57:55 +07:00
|
|
|
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} universe
|
|
|
|
deb http://apt.internal.cubetiqs.com/ubuntu ${UBUNTU_VERSION}-updates universe
|
|
|
|
deb http://apt.internal.cubetiqs.com/ubuntu ${UBUNTU_VERSION} multiverse
|
|
|
|
deb http://apt.internal.cubetiqs.com/ubuntu ${UBUNTU_VERSION}-updates multiverse
|
|
|
|
deb http://apt.internal.cubetiqs.com/ubuntu ${UBUNTU_VERSION}-backports main restricted universe multiverse
|
|
|
|
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 multiverse
|
2021-09-03 11:02:58 +07:00
|
|
|
EOF
|
|
|
|
|
|
|
|
mv /etc/apt/sources.list /etc/apt/sources.list.bak
|
|
|
|
mv sources.list /etc/apt/sources.list
|