summaryrefslogtreecommitdiffstats
path: root/mkosi.postinst
diff options
context:
space:
mode:
Diffstat (limited to 'mkosi.postinst')
-rwxr-xr-xmkosi.postinst6
1 files changed, 3 insertions, 3 deletions
diff --git a/mkosi.postinst b/mkosi.postinst
index 1211413..700b3c3 100755
--- a/mkosi.postinst
+++ b/mkosi.postinst
@@ -8,14 +8,14 @@ systemctl mask motd-news.service
systemctl mask motd-news.timer
# Add update- and security-repositories, and perform upgrade
-echo "deb http://no.archive.ubuntu.com $(lsb_release --short --codename)-security main universe" >> /etc/apt/sources.list
-echo "deb http://no.archive.ubuntu.com $(lsb_release --short --codename)-updates main universe" >> /etc/apt/sources.list
+echo "deb http://no.archive.ubuntu.com/ubuntu $(lsb_release --short --codename)-security main universe" >> /etc/apt/sources.list
+echo "deb http://no.archive.ubuntu.com/ubuntu $(lsb_release --short --codename)-updates main universe" >> /etc/apt/sources.list
apt-get update && apt-get --yes full-upgrade && apt-get --yes autoremove
# mono
#apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF
curl https://download.mono-project.com/repo/xamarin.gpg | apt-key add -
-echo "deb https://download.mono-project.com/repo/ubuntu stable-bionic main" | tee /etc/apt/sources.list.d/mono-official-stable.list
+echo "deb https://download.mono-project.com/repo/ubuntu stable-$(lsb_release --short --codename) main" | tee /etc/apt/sources.list.d/mono-official-stable.list
apt-get update