summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDennis Eriksen <d@ennis.no>2020-04-17 10:39:59 +0200
committerDennis Eriksen <d@ennis.no>2020-04-17 10:39:59 +0200
commit06cc8bfd41ceac90cadb5ce64074efe1c0b3239a (patch)
tree7b0769173ad6188e4b5882f141ed150e5e3432a7
parentupdating repo-location (diff)
downloadmkosi-matrix-06cc8bfd41ceac90cadb5ce64074efe1c0b3239a.tar.gz
exchanging apt with apt-get for better script-compatability
-rwxr-xr-xmkosi.postinst2
1 files changed, 1 insertions, 1 deletions
diff --git a/mkosi.postinst b/mkosi.postinst
index 6a745da..592159b 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/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