My-distro-configs/my-distro-ubuntu-64/sources-final/sources-final

27 lines
991 B
Bash
Executable File

#!/bin/sh
#
# Writes the final sources.list file
#
CHROOT=$(mount | grep proc | grep calamares | awk '{print $3}' | sed -e "s#/proc##g")
RELEASE="jammy"
cat << EOF > $CHROOT/etc/apt/sources.list
# See https://wiki.debian.org/SourcesList for more information.
deb http://archive.ubuntu.com/ubuntu/ jammy main restricted universe multiverse
#deb-src http://archive.ubuntu.com/ubuntu/ jammy main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu/ jammy-updates main restricted universe multiverse
#deb-src http://archive.ubuntu.com/ubuntu/ jammy-updates main restricted universe multiverse
deb http://security.ubuntu.com/ubuntu/ jammy-security main restricted universe multiverse
#deb-src http://security.ubuntu.com/ubuntu/ jammy-security main restricted universe multiverse
#deb http://archive.ubuntu.com/ubuntu/ jammy-backports main restricted universe multiverse
#deb http://archive.ubuntu.com/ubuntu/ jammy-backports main restricted universe multiverse
EOF
exit 0