From 52a465114728a35312518e7731462d09e373309e Mon Sep 17 00:00:00 2001 From: Dennis Eriksen Date: Thu, 30 Apr 2020 12:49:02 +0200 Subject: upgrading to Focal --- mkosi.postinst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mkosi.postinst') diff --git a/mkosi.postinst b/mkosi.postinst index 6484064..08f4a46 100755 --- a/mkosi.postinst +++ b/mkosi.postinst @@ -8,7 +8,7 @@ systemctl mask motd-news.service 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}') +RELEASE=$(grep DISTRIB_CODENAME /etc/lsb-release | awk -F'=' '{print $2}') 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-get update && apt-get --yes full-upgrade && apt-get --yes autoremove -- cgit v1.2.3