mirror of
https://github.com/community-scripts/ProxmoxVE.git
synced 2026-04-28 21:30:41 +00:00
hf: setup plex repo if not installed (old install)
This commit is contained in:
@@ -58,6 +58,15 @@ function update_script() {
|
|||||||
"public" \
|
"public" \
|
||||||
"main"
|
"main"
|
||||||
msg_ok "Migrated to new Plex repository (deb822)"
|
msg_ok "Migrated to new Plex repository (deb822)"
|
||||||
|
else
|
||||||
|
msg_info "Setting up Plex repository"
|
||||||
|
setup_deb822_repo \
|
||||||
|
"plexmediaserver" \
|
||||||
|
"https://downloads.plex.tv/plex-keys/PlexSign.v2.key" \
|
||||||
|
"https://repo.plex.tv/deb/" \
|
||||||
|
"public" \
|
||||||
|
"main"
|
||||||
|
msg_ok "Set up Plex repository"
|
||||||
fi
|
fi
|
||||||
if [[ -f /usr/local/bin/plexupdate ]] || [[ -d /opt/plexupdate ]]; then
|
if [[ -f /usr/local/bin/plexupdate ]] || [[ -d /opt/plexupdate ]]; then
|
||||||
msg_info "Removing legacy plexupdate"
|
msg_info "Removing legacy plexupdate"
|
||||||
|
|||||||
Reference in New Issue
Block a user