summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xmkosi.postinst8
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