diff options
author | dennis <dennis@mrslave> | 2020-04-17 10:42:17 +0200 |
---|---|---|
committer | dennis <dennis@mrslave> | 2020-04-17 10:42:17 +0200 |
commit | 01d7c9b2011b01dfceda384bc95f59e397b7cc70 (patch) | |
tree | 219f8ea1b7c0fbcb2361c430d7c31e96d961e357 /mkosi.postinst | |
parent | adding update- and security-repos (diff) | |
download | mkosi-pihole-01d7c9b2011b01dfceda384bc95f59e397b7cc70.tar.gz |
exchanging apt with apt-get for better script-compatability
Diffstat (limited to 'mkosi.postinst')
-rwxr-xr-x | mkosi.postinst | 2 |
1 files changed, 1 insertions, 1 deletions
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 |