From b35f80c52bd26eba417d9522da067972fb092321 Mon Sep 17 00:00:00 2001 From: Dennis Eriksen Date: Fri, 17 Apr 2020 10:38:27 +0200 Subject: exchanging apt with apt-get for better script-compatability --- mkosi.postinst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mkosi.postinst') diff --git a/mkosi.postinst b/mkosi.postinst index 60df454..3dab1a4 100755 --- a/mkosi.postinst +++ b/mkosi.postinst @@ -11,7 +11,7 @@ systemctl mask motd-news.timer 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 update && apt --yes full-upgrade && apt --yes autoremove +apt-get update && apt-get --yes full-upgrade && apt-get --yes autoremove # locales sed -i 's/# en_IE.UTF-8 UTF-8/en_IE.UTF-8 UTF-8/' /etc/locale.gen -- cgit v1.2.3