sh.osa.cubetiqs.com/apt-focal.sh

21 lines
941 B
Bash

#!/bin/sh -e
tee -a sources.list << EOF
deb http://apt.internal.cubetiqs.com/ubuntu focal main restricted
deb http://apt.internal.cubetiqs.com/ubuntu focal-updates main restricted
deb http://apt.internal.cubetiqs.com/ubuntu focal universe
deb http://apt.internal.cubetiqs.com/ubuntu focal-updates universe
deb http://apt.internal.cubetiqs.com/ubuntu focal multiverse
deb http://apt.internal.cubetiqs.com/ubuntu focal-updates multiverse
deb http://apt.internal.cubetiqs.com/ubuntu focal-backports main restricted universe multiverse
deb http://apt.internal.cubetiqs.com/ubuntu focal-security main restricted
deb http://apt.internal.cubetiqs.com/ubuntu focal-security universe
deb http://apt.internal.cubetiqs.com/ubuntu focal-security multiverse
EOF
mv /etc/apt/sources.list /etc/apt/sources.list.bak
mv sources.list /etc/apt/sources.list
echo ""
echo "======================= New Sources ======================="
cat /etc/apt/sources.list