summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDennis Eriksen <d@ennis.no>2020-04-17 10:38:57 +0200
committerDennis Eriksen <d@ennis.no>2020-04-17 10:38:57 +0200
commit0b8c161457e96b79d36d562060c732e483ddf44c (patch)
tree0ba70c28e4bbc3bc55eb32029ff54d542f14a27c
parentupdating repo-location (diff)
downloadmkosi-miniflux-0b8c161457e96b79d36d562060c732e483ddf44c.tar.gz
exchanging apt with apt-get for better script-compatability
-rwxr-xr-xmkosi.postinst6
1 files changed, 3 insertions, 3 deletions
diff --git a/mkosi.postinst b/mkosi.postinst
index f5af255..46a574f 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
@@ -20,9 +20,9 @@ locale-gen
# install miniflux
curl -s https://apt.miniflux.app/KEY.gpg | apt-key add -
echo "deb https://apt.miniflux.app/ /" > /etc/apt/sources.list.d/miniflux.list
-apt update
+apt-get update
-apt install --yes miniflux
+apt-get install --yes miniflux
mkdir /etc/miniflux
chown miniflux:miniflux /etc/miniflux