mirror of
https://github.com/midoks/mdserver-web.git
synced 2026-10-18 23:45:52 +08:00
Update git.tpl
This commit is contained in:
@@ -14,6 +14,10 @@ else
|
||||
fi
|
||||
|
||||
|
||||
if [ ! -d {$ROOT_PATH}/wwwroot/{$REPO} ];then
|
||||
mkdir -p {$ROOT_PATH}/wwwroot/{$REPO}
|
||||
fi
|
||||
|
||||
rsync -vauP '--exclude=.*' {$ROOT_PATH}/gitcode/{$REPO}/ {$ROOT_PATH}/wwwroot/{$REPO}
|
||||
chown -R www:www {$ROOT_PATH}/wwwroot/{$REPO}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user