aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordennis <dennis@mrslave>2020-04-17 10:42:17 +0200
committerdennis <dennis@mrslave>2020-04-17 10:42:17 +0200
commit01d7c9b2011b01dfceda384bc95f59e397b7cc70 (patch)
tree219f8ea1b7c0fbcb2361c430d7c31e96d961e357
parentadding update- and security-repos (diff)
downloadmkosi-pihole-01d7c9b2011b01dfceda384bc95f59e397b7cc70.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 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