Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
adam.huang
Config
Commits
26eaff69
Commit
26eaff69
authored
Jul 15, 2019
by
Gauthier Provost
Browse files
Make Plex install script use official repo
parent
167e0dc2
Changes
1
Show whitespace changes
Inline
Side-by-side
debian-software
View file @
26eaff69
...
@@ -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
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment