diff --git a/plexupdate-core b/plexupdate-core index 70310cc..71272e9 100755 --- a/plexupdate-core +++ b/plexupdate-core @@ -18,9 +18,6 @@ REDHAT_INSTALL="dnf -y install" DEBIAN_INSTALL="dpkg -i" 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 PLEXUPDATE_FILES="plexupdate.sh plexupdate-core extras/installer.sh extras/cronwrapper" diff --git a/plexupdate.sh b/plexupdate.sh index b0a138d..018e081 100755 --- a/plexupdate.sh +++ b/plexupdate.sh @@ -319,6 +319,9 @@ else 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 pushd "${SCRIPT_PATH}" > /dev/null for filename in $PLEXUPDATE_FILES; do