diff options
author | dennis <dennis@mrslave> | 2020-03-15 23:49:26 +0100 |
---|---|---|
committer | dennis <dennis@mrslave> | 2020-03-15 23:49:26 +0100 |
commit | c7e1cfcaa8a80bcd94bd16fbd102ac154143d756 (patch) | |
tree | ba3cef40ae4a0f25e833bc7b73df122ff953f98a /mkosi.postinst | |
parent | Fixing type (diff) | |
download | mkosi-plex-c7e1cfcaa8a80bcd94bd16fbd102ac154143d756.tar.gz |
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
Diffstat (limited to '')
-rwxr-xr-x | mkosi.postinst | 8 |
1 files changed, 6 insertions, 2 deletions
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 |