tunasync/scripts/homebrew.sh
2014-11-23 12:12:19 +08:00

13 lines
235 B
Bash
Executable File

#!/bin/bash
if [ ! -d "$TUNASYNC_WORKING_DIR" ]; then
echo "Directory not exists, fail"
exit 1
fi
function update_homebrew_git() {
cd $TUNASYNC_WORKING_DIR
/usr/bin/timeout -s INT 3600 git remote -v update
}
update_homebrew_git