diff options
author | dennis <dennis@mrslave> | 2020-04-17 10:41:54 +0200 |
---|---|---|
committer | dennis <dennis@mrslave> | 2020-04-17 10:41:54 +0200 |
commit | 98329a7016280170b20844ce076d145f8843271f (patch) | |
tree | bb8d3d2b0c05b84ac3001764c19d4fca59d043fc /mkosi.postinst | |
parent | mediafiles has moved a bit (diff) | |
download | mkosi-sonarr-98329a7016280170b20844ce076d145f8843271f.tar.gz |
exchanging apt with apt-get for better script-compatability
Diffstat (limited to 'mkosi.postinst')
-rwxr-xr-x | mkosi.postinst | 6 |
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 |