mirror of
https://github.com/mrworf/plexupdate.git
synced 2025-08-19 04:49:34 -07:00
Cleanup
This commit is contained in:
parent
09970a86ad
commit
c2799829a0
1 changed files with 0 additions and 3 deletions
|
@ -27,12 +27,10 @@ else
|
||||||
fi
|
fi
|
||||||
# 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}"
|
|
||||||
if ! source <($DOWNLOADER "${LIBRARY_URL}"); then
|
if ! source <($DOWNLOADER "${LIBRARY_URL}"); then
|
||||||
echo "failed to source"
|
echo "failed to source"
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
echo "Source succeeded"
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
install() {
|
install() {
|
||||||
|
@ -40,7 +38,6 @@ install() {
|
||||||
sleep 1
|
sleep 1
|
||||||
|
|
||||||
[ -z "$DISTRO_INSTALL" ] && check_distro
|
[ -z "$DISTRO_INSTALL" ] && check_distro
|
||||||
DISTRO_INSTALL="${DISTRO_INSTALL} install"
|
|
||||||
|
|
||||||
if [ $EUID -ne 0 ]; then
|
if [ $EUID -ne 0 ]; then
|
||||||
sudo $DISTRO_INSTALL $1 || abort "Failed while trying to install '$1'. Please install it manually and try again."
|
sudo $DISTRO_INSTALL $1 || abort "Failed while trying to install '$1'. Please install it manually and try again."
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue