diff options
author | Aaron Ball <nullspoon@oper.io> | 2023-01-24 09:48:22 -0700 |
---|---|---|
committer | Aaron Ball <nullspoon@oper.io> | 2023-01-24 09:48:22 -0700 |
commit | 50336cfa400d22ffeb7910732fbc1e02d3fb90fe (patch) | |
tree | 8639f1f30bcc6be53a9cf1fcdbcfd81c71062e78 /hooks | |
parent | e623129b1b7a91a6141e979e931b157db9ac71ce (diff) | |
download | ports-50336cfa400d22ffeb7910732fbc1e02d3fb90fe.tar.gz ports-50336cfa400d22ffeb7910732fbc1e02d3fb90fe.tar.xz |
post-receive hook:rsync remove inplace and add omit dir times
Diffstat (limited to 'hooks')
-rw-r--r-- | hooks/post-receive | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/hooks/post-receive b/hooks/post-receive index ec4ce2d..d29b156 100644 --- a/hooks/post-receive +++ b/hooks/post-receive @@ -2,7 +2,13 @@ dest=${WEB}/oper.io.services/crux-ports # Copy files from working cache to destination -rsync -a --inplace --delete --no-g --exclude hooks --exclude '.git*' ./ ${dest}/ || true +rsync -a \ + --delete \ + --no-group \ + --omit-dir-times \ + --exclude hooks \ + --exclude '.git*' \ + ./ ${dest}/ || true printf '[git] Updating %s\n' ${FILES_M[@]:-nothing} printf '[git] Removing %s\n' ${FILES_D[@]:-nothing} |