From 01d7c9b2011b01dfceda384bc95f59e397b7cc70 Mon Sep 17 00:00:00 2001 From: dennis Date: Fri, 17 Apr 2020 10:42:17 +0200 Subject: exchanging apt with apt-get for better script-compatability --- mkosi.postinst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mkosi.postinst b/mkosi.postinst index a8b76a6..708397d 100755 --- a/mkosi.postinst +++ b/mkosi.postinst @@ -11,7 +11,7 @@ systemctl mask motd-news.timer 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 -apt update && apt --yes full-upgrade && apt --yes autoremove +apt-get update && apt-get --yes full-upgrade && apt-get --yes autoremove # network systemctl enable systemd-networkd -- cgit v1.2.3