diff options
author | Aaron Ball <nullspoon@oper.io> | 2020-12-21 13:54:26 -0700 |
---|---|---|
committer | Aaron Ball <nullspoon@oper.io> | 2020-12-21 13:54:44 -0700 |
commit | da6c7fb75320ba0826cb6f9740a0fb243e90e0d2 (patch) | |
tree | 9964b5e3ae765bfb44ca18530441764e71e0848f /hooks | |
parent | 62402c9e73c7a145da961407a2cefd3585693a78 (diff) | |
download | ports-nullsec-da6c7fb75320ba0826cb6f9740a0fb243e90e0d2.tar.gz ports-nullsec-da6c7fb75320ba0826cb6f9740a0fb243e90e0d2.tar.xz |
hooks:support file deletion and remove hashcat
Diffstat (limited to 'hooks')
-rw-r--r-- | hooks/post-receive | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hooks/post-receive b/hooks/post-receive index 729cad8..5443775 100644 --- a/hooks/post-receive +++ b/hooks/post-receive @@ -2,7 +2,7 @@ dest=${WEB}/oper.io.services/nullsec # Copy files from working cache to destination -rsync -av --inplace --exclude hooks --exclude '.git*' ./ ${dest}/ || true +rsync -a --inplace --delete --exclude hooks --exclude '.git*' ./ ${dest}/ || true printf '[git] Updating %s\n' ${FILES_M[@]:-nothing} printf '[git] Removing %s\n' ${FILES_D[@]:-nothing} |