diff options
author | Dennis Eriksen <d@ennis.no> | 2020-04-30 13:27:37 +0200 |
---|---|---|
committer | Dennis Eriksen <d@ennis.no> | 2020-04-30 13:27:37 +0200 |
commit | f41655ed652abdd46d61e1492bcc4647c1136e76 (patch) | |
tree | 83e4a52aa77f059f0036e468ff67c4cac4a4ee23 | |
parent | exchanging apt with apt-get for better script-compatability (diff) | |
download | mkosi-kanboard-f41655ed652abdd46d61e1492bcc4647c1136e76.tar.gz |
upgrading to Focal
-rw-r--r-- | mkosi.default | 2 | ||||
-rwxr-xr-x | mkosi.postinst | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/mkosi.default b/mkosi.default index a5a8378..b8d88e6 100644 --- a/mkosi.default +++ b/mkosi.default @@ -1,6 +1,6 @@ [Distribution] Distribution=ubuntu -Release=bionic +Release=focal Repositories=main,universe Mirror=http://no.archive.ubuntu.com/ubuntu diff --git a/mkosi.postinst b/mkosi.postinst index d172104..c2f69f4 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 |