mirror of
https://github.com/mag37/dockcheck.git
synced 2026-04-21 03:40:39 +00:00
Update dockcheck.sh
This commit is contained in:
+1
-1
@@ -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 ; }
|
||||||
|
|||||||
Reference in New Issue
Block a user