diff options
author | dennis <dennis@mrslave> | 2020-04-17 10:42:01 +0200 |
---|---|---|
committer | dennis <dennis@mrslave> | 2020-04-17 10:42:01 +0200 |
commit | e11568cb5095928dc3b5450596ab830f73bcde9c (patch) | |
tree | f580138df75b0db7274447b238b323e218d94166 | |
parent | media has moved a bit (diff) | |
download | mkosi-sabnzbd-e11568cb5095928dc3b5450596ab830f73bcde9c.tar.gz |
exchanging apt with apt-get for better script-compatability
-rwxr-xr-x | mkosi.postinst | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/mkosi.postinst b/mkosi.postinst index 718bb0f..83443b7 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 # sabnzbd groupadd --system --gid 997 warez @@ -21,9 +21,9 @@ useradd --system --gid warez --uid 997 warez add-apt-repository --yes ppa:jcfp/nobetas add-apt-repository --yes ppa:jcfp/sab-addons -apt install --yes sabnzbdplus python-sabyenc par2-tbb python-pip +apt-get install --yes sabnzbdplus python-sabyenc par2-tbb python-pip pip install --no-cache-dir apprise chardet pynzb requests sabyenc -apt purge --auto-remove --yes python-pip -apt clean +apt-get purge --auto-remove --yes python-pip +apt-get clean |