mirror of
https://github.com/community-scripts/ProxmoxVE.git
synced 2026-03-03 17:35:55 +01:00
fixes
This commit is contained in:
@@ -59,8 +59,6 @@ function update_script() {
|
||||
"main"
|
||||
msg_ok "Migrated to new Plex repository (deb822)"
|
||||
fi
|
||||
|
||||
# Remove plexupdate if previously installed
|
||||
if [[ -f /usr/local/bin/plexupdate ]] || [[ -d /opt/plexupdate ]]; then
|
||||
msg_info "Removing legacy plexupdate"
|
||||
rm -rf /opt/plexupdate /usr/local/bin/plexupdate
|
||||
@@ -68,11 +66,11 @@ function update_script() {
|
||||
msg_ok "Removed legacy plexupdate"
|
||||
fi
|
||||
|
||||
msg_info "Updating ${APP}"
|
||||
msg_info "Updating Plex Media Server"
|
||||
$STD apt update
|
||||
$STD apt install -y plexmediaserver
|
||||
msg_ok "Updated ${APP}"
|
||||
|
||||
msg_ok "Updated Plex Media Server"
|
||||
msg_ok "Updated successfully!"
|
||||
exit
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user