diff options
| author | KunoiSayami <[email protected]> | 2021-10-26 18:55:02 +0800 |
|---|---|---|
| committer | KunoiSayami <[email protected]> | 2021-10-26 18:55:02 +0800 |
| commit | 1d66c0c158595252fefc17793fe614768fe83d09 (patch) | |
| tree | c607ae01395ff3a51f6b71d99ce04e9386cae122 /deploy.sh | |
| parent | 831a6d7aba503927e2270365a3253a877eae3e14 (diff) | |
feat(script): Remove architecture code in manage scipt
Signed-off-by: KunoiSayami <[email protected]>
Diffstat (limited to 'deploy.sh')
| -rwxr-xr-x | deploy.sh | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -7,6 +7,5 @@ if [ $# -eq 0 ]; then echo 'Should provide least one argument' exit 1 fi -ARCH=$(/usr/bin/uname -m) -/usr/bin/date +%s > "packages/$ARCH/LASTSYNC" -/usr/bin/rsync --partial -r --update --links --delete --exclude=.gitignore "packages/$ARCH" $1:/var/www/repo/ +/usr/bin/date +%s > "packages/LASTSYNC" +/usr/bin/rsync --partial -r --update --links --delete --exclude=.gitignore "packages/" $1:/var/www/repo/ |
