summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordennis <dennis@mrslave>2020-04-03 09:38:34 +0200
committerdennis <dennis@mrslave>2020-04-03 09:38:34 +0200
commitbcd53b9c8a0310594e9d0425f2a0534b87beed6e (patch)
tree9ab2efc1eef41ad94806c58e801f605aa9c87dd1
parentadding update- and security-repos (diff)
downloadmkosi-sabnzbd-bcd53b9c8a0310594e9d0425f2a0534b87beed6e.tar.gz
repo has moved a bit
-rw-r--r--mkosi.default2
-rwxr-xr-xmkosi.postinst4
2 files changed, 3 insertions, 3 deletions
diff --git a/mkosi.default b/mkosi.default
index 3abe598..8a121fb 100644
--- a/mkosi.default
+++ b/mkosi.default
@@ -2,7 +2,7 @@
Distribution=ubuntu
Release=bionic
Repositories=main,universe,multiverse
-Mirror=http://no.archive.ubuntu.com
+Mirror=http://no.archive.ubuntu.com/ubuntu
[Output]
Format=directory
diff --git a/mkosi.postinst b/mkosi.postinst
index 554a4c3..718bb0f 100755
--- a/mkosi.postinst
+++ b/mkosi.postinst
@@ -10,8 +10,8 @@ systemctl mask motd-news.timer
# Add update- and security-repositories, and perform upgrade
RELEASE=$(cat /etc/lsb-release | grep DISTRIB_CODENAME | awk -F'=' '{print $2}')
-echo "deb http://no.archive.ubuntu.com ${RELEASE}-security main universe" >> /etc/apt/sources.list
-echo "deb http://no.archive.ubuntu.com ${RELEASE}-updates main universe" >> /etc/apt/sources.list
+echo "deb http://no.archive.ubuntu.com/ubuntu ${RELEASE}-security main universe" >> /etc/apt/sources.list
+echo "deb http://no.archive.ubuntu.com/ubuntu ${RELEASE}-updates main universe" >> /etc/apt/sources.list
apt update && apt --yes full-upgrade && apt --yes autoremove
# sabnzbd