mirror of
https://github.com/mrworf/plexupdate.git
synced 2025-07-16 02:02:58 -07:00
Move the set of the UPSTREAM_GET_URL as it relies on variabls on CONFIGFILE
This commit is contained in:
parent
64ac249009
commit
eed35bf3d7
2 changed files with 3 additions and 3 deletions
|
@ -18,9 +18,6 @@ REDHAT_INSTALL="dnf -y install"
|
||||||
DEBIAN_INSTALL="dpkg -i"
|
DEBIAN_INSTALL="dpkg -i"
|
||||||
DISTRO_INSTALL=""
|
DISTRO_INSTALL=""
|
||||||
|
|
||||||
#URL for new version check
|
|
||||||
UPSTREAM_GIT_URL="https://raw.githubusercontent.com/${GIT_OWNER:-mrworf}/plexupdate/${BRANCHNAME:-master}"
|
|
||||||
|
|
||||||
#Files "owned" by plexupdate, for autoupdate
|
#Files "owned" by plexupdate, for autoupdate
|
||||||
PLEXUPDATE_FILES="plexupdate.sh plexupdate-core extras/installer.sh extras/cronwrapper"
|
PLEXUPDATE_FILES="plexupdate.sh plexupdate-core extras/installer.sh extras/cronwrapper"
|
||||||
|
|
||||||
|
|
|
@ -319,6 +319,9 @@ else
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
#URL for new version check
|
||||||
|
UPSTREAM_GIT_URL="https://raw.githubusercontent.com/${GIT_OWNER:-mrworf}/plexupdate/${BRANCHNAME:-master}"
|
||||||
|
|
||||||
if [ "${CHECKUPDATE}" = "yes" -a "${AUTOUPDATE}" = "no" ]; then
|
if [ "${CHECKUPDATE}" = "yes" -a "${AUTOUPDATE}" = "no" ]; then
|
||||||
pushd "${SCRIPT_PATH}" > /dev/null
|
pushd "${SCRIPT_PATH}" > /dev/null
|
||||||
for filename in $PLEXUPDATE_FILES; do
|
for filename in $PLEXUPDATE_FILES; do
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue