From c7e1cfcaa8a80bcd94bd16fbd102ac154143d756 Mon Sep 17 00:00:00 2001 From: dennis Date: Sun, 15 Mar 2020 23:49:26 +0100 Subject: updating mirror, cleaning up after plex changed how they handle service-files, and cleaning up after they decided to handle udev differently. should now build again --- mkosi.postinst | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'mkosi.postinst') diff --git a/mkosi.postinst b/mkosi.postinst index 41673b5..176dce2 100755 --- a/mkosi.postinst +++ b/mkosi.postinst @@ -10,8 +10,8 @@ systemctl mask motd-news.timer # Add update- and security-repositories, and perform upgrade RELEASE=$(cat /etc/lsb-release | grep DISTRIB_CODENAME | awk -F'=' '{print $2}') -echo "deb http://no.archive.ubuntu.com ${RELEASE}-security main universe" >> /etc/apt/sources.list -echo "deb http://no.archive.ubuntu.com ${RELEASE}-updates main universe" >> /etc/apt/sources.list +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 # ples @@ -33,3 +33,7 @@ apt install --yes plexmediaserver rm /etc/apt/sources.list.d/plex.list apt update + +cp /usr/lib/plexmediaserver/lib/plexmediaserver.service /etc/systemd/system/ + +systemctl enable plexmediaserver.service -- cgit v1.2.3