#!/bin/sh
#
# Writes the final sources.list file
#

CHROOT=$(mount | grep proc | grep calamares | awk '{print $3}' | sed -e "s#/proc##g")
RELEASE="qanon+"

cat << EOF > $CHROOT/etc/apt/sources.list.d/official-package-repositories.list
# See https://wiki.debian.org/SourcesList for more information.
deb http://apt.pearllinux.com qanon+ main upstream import backport

deb http://us.archive.ubuntu.com/ubuntu/ focal main restricted universe multiverse
deb http://us.archive.ubuntu.com/ubuntu/ focal-updates main restricted universe multiverse

deb http://us.archive.ubuntu.com/ubuntu/ focal-backports main restricted universe multiverse
deb http://archive.canonical.com/ubuntu focal partner
deb http://security.ubuntu.com/ubuntu focal-security main multiverse restricted universe
EOF
rm /etc/apt/sources.list
exit 0
