homebrew.sh 206 B

123456789101112
  1. #!/bin/bash
  2. if [ ! -d "$TUNASYNC_WORKING_DIR" ]; then
  3. echo "Directory not exists, fail"
  4. exit 1
  5. fi
  6. function update_homebrew_git() {
  7. cd $TUNASYNC_WORKING_DIR
  8. git remote -v update
  9. }
  10. update_homebrew_git