diff options
author | Dennis Eriksen <d@ennis.no> | 2020-04-17 10:35:11 +0200 |
---|---|---|
committer | Dennis Eriksen <d@ennis.no> | 2020-04-17 10:35:11 +0200 |
commit | 8c02b453e55b01bcbf7fff0c3c0c1a4b85375d9c (patch) | |
tree | add126fb9c4ac4ebb26574a62b46ffab9bee7008 | |
parent | updating repo-location (diff) | |
download | mkosi-cgit-8c02b453e55b01bcbf7fff0c3c0c1a4b85375d9c.tar.gz |
exchanging apt with apt-get for better script-compatability
-rwxr-xr-x | mkosi.postinst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mkosi.postinst b/mkosi.postinst index eecf67a..dc283d8 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 # cgit groupadd --gid 997 --system git |