aboutsummaryrefslogtreecommitdiff
path: root/deploy.sh
diff options
context:
space:
mode:
authorKunoiSayami <[email protected]>2021-10-26 18:55:02 +0800
committerKunoiSayami <[email protected]>2021-10-26 18:55:02 +0800
commit1d66c0c158595252fefc17793fe614768fe83d09 (patch)
treec607ae01395ff3a51f6b71d99ce04e9386cae122 /deploy.sh
parent831a6d7aba503927e2270365a3253a877eae3e14 (diff)
feat(script): Remove architecture code in manage scipt
Signed-off-by: KunoiSayami <[email protected]>
Diffstat (limited to 'deploy.sh')
-rwxr-xr-xdeploy.sh5
1 files changed, 2 insertions, 3 deletions
diff --git a/deploy.sh b/deploy.sh
index 691ad2e..5e25e73 100755
--- a/deploy.sh
+++ b/deploy.sh
@@ -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/