aboutsummaryrefslogtreecommitdiffstats
path: root/mkosi.postinst
diff options
context:
space:
mode:
authorDennis Eriksen <d@ennis.no>2020-04-17 10:35:53 +0200
committerDennis Eriksen <d@ennis.no>2020-04-17 10:35:53 +0200
commit2dabbcbb2b4f71ad2b747d630024705bbbeb434b (patch)
tree45af9c9261b1f7fd31a7a4475a8582cb53f17477 /mkosi.postinst
parentnew vault version (diff)
downloadmkosi-bitwarden_rs-2dabbcbb2b4f71ad2b747d630024705bbbeb434b.tar.gz
exchanging apt with apt-get for better script-compatability
Diffstat (limited to 'mkosi.postinst')
-rwxr-xr-xmkosi.postinst2
1 files changed, 1 insertions, 1 deletions
diff --git a/mkosi.postinst b/mkosi.postinst
index f65b57a..fcc4b2e 100755
--- a/mkosi.postinst
+++ b/mkosi.postinst
@@ -12,7 +12,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
# set up bitwarden
mv /bitwarden_rs /usr/local/bin/ || echo "building"