mirror of
https://github.com/mrworf/plexupdate.git
synced 2025-08-20 13:23:21 -07:00
Only show AUTOSTART warning if AUTOINSTALL is enabled
This commit is contained in:
parent
5ed9a32c22
commit
da5c9bfdc7
1 changed files with 1 additions and 1 deletions
|
@ -550,7 +550,7 @@ SKIP_DOWNLOAD="no"
|
||||||
if [ "${REDHAT}" != "yes" ]; then
|
if [ "${REDHAT}" != "yes" ]; then
|
||||||
INSTALLED_VERSION=$(dpkg-query -s plexmediaserver 2>/dev/null | grep -Po 'Version: \K.*')
|
INSTALLED_VERSION=$(dpkg-query -s plexmediaserver 2>/dev/null | grep -Po 'Version: \K.*')
|
||||||
else
|
else
|
||||||
if [ "${AUTOSTART}" = "no" ]; then
|
if [ "${AUTOINSTALL}" = "yes" -a "${AUTOSTART}" = "no" ]; then
|
||||||
warn "Your distribution may require the use of the AUTOSTART [-s] option for the service to start after the upgrade completes."
|
warn "Your distribution may require the use of the AUTOSTART [-s] option for the service to start after the upgrade completes."
|
||||||
fi
|
fi
|
||||||
INSTALLED_VERSION=$(rpm -qv plexmediaserver 2>/dev/null)
|
INSTALLED_VERSION=$(rpm -qv plexmediaserver 2>/dev/null)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue