diff options
Diffstat (limited to 'mkosi.postinst')
-rwxr-xr-x | mkosi.postinst | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/mkosi.postinst b/mkosi.postinst index 176dce2..35c10b4 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 # ples systemctl enable systemd-networkd @@ -24,15 +24,15 @@ echo deb https://downloads.plex.tv/repo/deb public main > /etc/apt/sources.list. curl https://downloads.plex.tv/plex-keys/PlexSign.key | apt-key add - -apt update +apt-get update -apt install --yes plexmediaserver +apt-get install --yes plexmediaserver # plex adds its own repo-file, with everything commented out. I guess plex # wants to do in-app upgrades. rm /etc/apt/sources.list.d/plex.list -apt update +apt-get update cp /usr/lib/plexmediaserver/lib/plexmediaserver.service /etc/systemd/system/ |