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