mirror of
https://github.com/mrworf/plexupdate.git
synced 2025-08-20 21:33:16 -07:00
Fix source logic in installer
This commit is contained in:
parent
1af580f2d6
commit
fab9d423c8
1 changed files with 4 additions and 1 deletions
|
@ -28,7 +28,10 @@ else
|
||||||
# there is no 'else' because if this is being run plexupdate is either already installed
|
# there is no 'else' because if this is being run plexupdate is either already installed
|
||||||
# or they already have either wget or curl
|
# or they already have either wget or curl
|
||||||
echo "Sourcing plexupdate-core using: $DOWNLOADER '${LIBRARY_URL}"
|
echo "Sourcing plexupdate-core using: $DOWNLOADER '${LIBRARY_URL}"
|
||||||
source <($DOWNLOADER "${LIBRARY_URL}") || echo "failed to source" && exit 1
|
if ! source <($DOWNLOADER "${LIBRARY_URL}"); then
|
||||||
|
echo "failed to source"
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
echo "Source succeeded"
|
echo "Source succeeded"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue