mirror of
https://github.com/mrworf/plexupdate.git
synced 2025-08-14 02:26:56 -07:00
Add helpful info when install fails
This commit is contained in:
parent
4c5669e35f
commit
0ad1928df6
1 changed files with 4 additions and 1 deletions
|
@ -653,9 +653,12 @@ if [ "${AUTOINSTALL}" = "yes" ]; then
|
|||
if ! hash ldconfig 2>/dev/null && [ "${DISTRO}" = "ubuntu" ]; then
|
||||
export PATH=$PATH:/sbin
|
||||
fi
|
||||
# no elif since DISTRO_INSTALL will produce error output for us
|
||||
|
||||
${DISTRO_INSTALL} "${DOWNLOADDIR}/${FILENAME}"
|
||||
if [ $? -ne 0 ]; then
|
||||
# Clarify why this failed, so user won't be left in the dark
|
||||
error "Was unable to install due to problems with package from plex.tv or your local linux setup"
|
||||
fi
|
||||
fi
|
||||
|
||||
if [ "${AUTODELETE}" = "yes" ]; then
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue