Commit 26eaff69 authored by Gauthier Provost's avatar Gauthier Provost
Browse files

Make Plex install script use official repo

parent 167e0dc2
...@@ -963,20 +963,10 @@ install_plex_media_server () ...@@ -963,20 +963,10 @@ install_plex_media_server ()
# #
# Media server # Media server
# #
if [ "$(dpkg --print-architecture | grep armhf)" == "armhf" ]; then echo -e "deb https://downloads.plex.tv/repo/deb public main" > /etc/apt/sources.list.d/plex.list
echo -e "deb [arch=armhf] https://dev2day.de/pms/ stretch main" > /etc/apt/sources.list.d/plex.list wget -q -O - https://downloads.plex.tv/plex-keys/PlexSign.key | apt-key add - >/dev/null 2>&1
wget -q -O - https://dev2day.de/pms/dev2day-pms.gpg.key | apt-key add - >/dev/null 2>&1
debconf-apt-progress -- apt-get update debconf-apt-progress -- apt-get update
debconf-apt-progress -- apt-get -y install plexmediaserver-installer debconf-apt-progress -- apt-get -y install plexmediaserver
elif [ "$(dpkg --print-architecture | grep arm64)" == "arm64" ]; then
echo -e "deb [arch=armhf] https://dev2day.de/pms/ stretch main" > /etc/apt/sources.list.d/plex.list
wget -q -O - https://dev2day.de/pms/dev2day-pms.gpg.key | apt-key add - >/dev/null 2>&1
debconf-apt-progress -- apt-get update
debconf-apt-progress -- apt-get -y install binutils:armhf plexmediaserver-installer:armhf
else
fancy_wget "https://downloads.plex.tv/plex-media-server/1.13.8.5395-10d48da0d/plexmediaserver_1.13.8.5395-10d48da0d_amd64.deb" "-O ${TEMP_DIR}/package.deb"
dpkg -i ${TEMP_DIR}/package.deb >/dev/null 2>&1
fi
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment