diff --git a/podcheck.sh b/podcheck.sh index 20b7087..a6e8b64 100644 --- a/podcheck.sh +++ b/podcheck.sh @@ -88,7 +88,7 @@ self_update_curl() { self_update() { cd "$ScriptWorkDir" || { printf "Path error, skipping update.\n" ; return ; } - if [[ $(command -v git) ]] && [[ "$(git ls-remote --get-url 2>/dev/null)" =~ .*"yourusername/podcheck".* ]] ; then + if [[ $(command -v git) ]] && [[ "$(git ls-remote --get-url 2>/dev/null)" =~ .*"sudo-kraken/podcheck".* ]] ; then printf "\n%s\n" "Pulling the latest version." git pull --force || { printf "Git error, manually pull/clone.\n" ; return ; } printf "\n%s\n" "--- starting over with the updated version ---"