tunasync/scripts/linux.sh
2014-11-22 19:30:51 +08:00

13 lines
200 B
Bash
Executable File

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