Update dockcheck.sh
This commit is contained in:
parent
6cd90e4597
commit
76337ee326
@ -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 ; }
|
||||||
|
Loading…
Reference in New Issue
Block a user