Fix inverted conditionals

This commit is contained in:
Sage Vaillancourt 2024-08-30 14:15:55 -04:00
parent 4af46ebe64
commit efa697a2c4
1 changed files with 2 additions and 2 deletions

View File

@ -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