summaryrefslogtreecommitdiffstats
path: root/mkosi.postinst
diff options
context:
space:
mode:
authorDennis Eriksen <d@ennis.no>2020-03-16 10:52:20 +0100
committerDennis Eriksen <d@ennis.no>2020-03-16 10:52:20 +0100
commit9d9d31676a9348fe53f9840d660cc305d5fd8a02 (patch)
tree39cc6ea6bf428790d9851cf652733babb72c93ac /mkosi.postinst
parentlsb_release is not always installed - using grep and awk instead (diff)
downloadmkosi-cgit-9d9d31676a9348fe53f9840d660cc305d5fd8a02.tar.gz
updating repo-location
Diffstat (limited to 'mkosi.postinst')
-rwxr-xr-xmkosi.postinst4
1 files changed, 2 insertions, 2 deletions
diff --git a/mkosi.postinst b/mkosi.postinst
index 2b348aa..eecf67a 100755
--- a/mkosi.postinst
+++ b/mkosi.postinst
@@ -9,8 +9,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
# cgit