Fix inverted conditionals
This commit is contained in:
parent
4af46ebe64
commit
efa697a2c4
|
@ -257,7 +257,7 @@ function _pushdot {
|
||||||
git push -u origin main
|
git push -u origin main
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
if [[ "$(hostname)" != "sage-bigboy" ]]; then
|
if [[ "$(hostname)" == "sage-bigboy" ]]; then
|
||||||
cd - > /dev/null
|
cd - > /dev/null
|
||||||
return $res
|
return $res
|
||||||
fi
|
fi
|
||||||
|
@ -301,7 +301,7 @@ function _getdot {
|
||||||
fi
|
fi
|
||||||
cd "$DOT_DIR" || return 1
|
cd "$DOT_DIR" || return 1
|
||||||
git pull && ./copy.sh | tee -a "$SYNC_LOCK_FILE"
|
git pull && ./copy.sh | tee -a "$SYNC_LOCK_FILE"
|
||||||
if [[ "$(hostname)" != "sage-bigboy" ]]; then
|
if [[ "$(hostname)" == "sage-bigboy" ]]; then
|
||||||
cd - > /dev/null
|
cd - > /dev/null
|
||||||
return
|
return
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in New Issue