diff options
| author | KunoiSayami <[email protected]> | 2021-11-03 20:10:23 +0800 |
|---|---|---|
| committer | KunoiSayami <[email protected]> | 2021-11-03 20:10:23 +0800 |
| commit | 9d8366eeb58608452072ccf2ecd81c50c2dca3a9 (patch) | |
| tree | cb9c97ae1b87c31f8e031abce64bed3d2e61e676 | |
| parent | 7833bbf7de0958551831b584464f67e4af3f6a1b (diff) | |
fix(script): [REBUILD] Fix deploy wrong condition
Signed-off-by: KunoiSayami <[email protected]>
| -rwxr-xr-x | deploy.sh | 6 | ||||
| -rw-r--r-- | repo/.gpg_keys/qemu-user-static | 2 |
2 files changed, 4 insertions, 4 deletions
@@ -9,10 +9,10 @@ if [ $# -eq 0 ]; then fi if [ -z ${SSH_CLIENT+x} ]; then - ADDITIONAL_PARAM="-Pv" + ADDITIONAL_PARAM="--partial" else - ADDITIONAL_PARAM="" + ADDITIONAL_PARAM="-Pv" fi /usr/bin/date +%s > "packages/LASTSYNC" -/usr/bin/rsync --partial $ADDITIONAL_PARAM -r -c --update --links --delete --exclude=.gitignore "packages/" $1:/var/www/repo/ +/usr/bin/rsync $ADDITIONAL_PARAM -r -c --update --links --delete --exclude=.gitignore "packages/" $1:/var/www/repo/ diff --git a/repo/.gpg_keys/qemu-user-static b/repo/.gpg_keys/qemu-user-static index af11c08..80a104f 100644 --- a/repo/.gpg_keys/qemu-user-static +++ b/repo/.gpg_keys/qemu-user-static @@ -1,7 +1,7 @@ #!/bin/bash #gpg --recv-keys --keyserver pgp.mit.edu 3353C9CEF108B584 #curl https://keys.openpgp.org/vks/v1/by-fingerprint/CEACC9E15534EBABB82D3FA03353C9CEF108B584 | gpg --import -cat <<EOF | gpg --import +cat << EOF | gpg --import -----BEGIN PGP PUBLIC KEY BLOCK----- mQENBFJhQQ8BCAChk4A3y0VfqeGfuhBZK4nvpZP/cSIQntWDheF3Tx7m9CxEGbc+ |
