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
9568e5f5
Unverified
Commit
9568e5f5
authored
Jul 17, 2019
by
Igor Pečovnik
Committed by
GitHub
Jul 17, 2019
Browse files
Merge pull request #61 from armbian/dev
Make Plex install script use official repo
parents
167e0dc2
26eaff69
Changes
1
Hide whitespace changes
Inline
Side-by-side
debian-software
View file @
9568e5f5
...
@@ -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