mirror of
https://github.com/mrworf/plexupdate.git
synced 2025-08-19 04:49:34 -07:00
fix url
This commit is contained in:
parent
b18584945b
commit
1af580f2d6
1 changed files with 3 additions and 2 deletions
|
@ -1,6 +1,7 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
ORIGIN_REPO="https://github.com/${GIT_OWNER:-mrworf}/plexupdate"
|
ORIGIN_REPO="https://github.com/${GIT_OWNER:-mrworf}/plexupdate"
|
||||||
|
LIBRARY_URL="https://raw.githubusercontent.com/${GIT_OWNER:-mrworf}/plexupdate/${BRANCHNAME:-master}/plexupdate-core"
|
||||||
FULL_PATH="/opt/plexupdate"
|
FULL_PATH="/opt/plexupdate"
|
||||||
CONFIGFILE="/etc/plexupdate.conf"
|
CONFIGFILE="/etc/plexupdate.conf"
|
||||||
CONFIGCRON="/etc/plexupdate.cron.conf"
|
CONFIGCRON="/etc/plexupdate.cron.conf"
|
||||||
|
@ -26,8 +27,8 @@ 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 '${ORIGIN_REPO}/${BRANCHNAME:-master}/plexupdate-core"
|
echo "Sourcing plexupdate-core using: $DOWNLOADER '${LIBRARY_URL}"
|
||||||
source <($DOWNLOADER "${ORIGIN_REPO}/${BRANCHNAME:-master}/plexupdate-core") || echo "failed to source" && exit 1
|
source <($DOWNLOADER "${LIBRARY_URL}") || echo "failed to source" && exit 1
|
||||||
echo "Source succeeded"
|
echo "Source succeeded"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue