summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xmkosi.postinst6
1 files changed, 3 insertions, 3 deletions
diff --git a/mkosi.postinst b/mkosi.postinst
index 0424a99..4ddf0ec 100755
--- a/mkosi.postinst
+++ b/mkosi.postinst
@@ -12,15 +12,15 @@ 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
# sonarr
apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 0xA236C58F409091A18ACA53CBEBFF6B99D9B78493
echo "deb http://apt.sonarr.tv/ master main" > /etc/apt/sources.list.d/sonarr.list
-apt update
+apt-get update
-apt install --yes nzbdrone
+apt-get install --yes nzbdrone
groupadd --system --gid 997 warez
useradd --system --gid warez --uid 997 --home-dir /opt/NzbDrone warez