Update dockcheck.sh

This commit is contained in:
mag37 2023-03-04 20:31:20 +01:00 committed by GitHub
parent 6cd90e4597
commit 76337ee326
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -45,7 +45,7 @@ self_update_git() {
git fetch git fetch
[ -n "$(git diff --name-only "$ScriptUpstream" "$ScriptName")" ] && { [ -n "$(git diff --name-only "$ScriptUpstream" "$ScriptName")" ] && {
printf "%s\n" "Pulling the latest version." printf "%s\n" "Pulling the latest version."
git checkout "$ScriptUpstream" # git checkout "$ScriptUpstream"
git pull --force git pull --force
echo "Running the new version..." echo "Running the new version..."
cd - || { printf "Path error.\n" ; return ; } cd - || { printf "Path error.\n" ; return ; }