1
0
镜像自地址 https://github.com/tuna/tunasync.git 已同步 2025-12-06 22:46:47 +00:00
文件
tunasync/scripts/linux.sh
2014-11-23 12:12:19 +08:00

13 行
229 B
Bash
可执行文件

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