diff options
author | paulbdavis | 2018-02-25 14:52:50 -0700 |
---|---|---|
committer | paulbdavis | 2018-02-25 14:52:50 -0700 |
commit | 6866fa52c506675c108e5269572bd33be59c9420 (patch) | |
tree | ecda2bfb3d4a1f7465a264725aaa41751185df06 | |
parent | d6ca876bbf92570b9660cbcebe01f94d2092c2ab (diff) | |
download | aur-6866fa52c506675c108e5269572bd33be59c9420.tar.gz |
more fix, delete missing files from remote after
-rw-r--r-- | .SRCINFO | 4 | ||||
-rw-r--r-- | PKGBUILD | 4 | ||||
-rw-r--r-- | reposync.sh | 6 |
3 files changed, 7 insertions, 7 deletions
@@ -1,6 +1,6 @@ pkgbase = reposync pkgdesc = Wrapper for aursync - pkgver = 0.0.16 + pkgver = 0.0.17 pkgrel = 1 arch = any license = MIT @@ -9,7 +9,7 @@ pkgbase = reposync depends = bash depends = s3fs-fuse source = reposync.sh - sha256sums = 91862ce0308efbd6be31b94475ea34c6129616d0a8376d89cc21e9fa23394f1d + sha256sums = eb0b603f1cb59623d546575257a1a05293ebda44352119b5378153c997d7af33 pkgname = reposync @@ -1,12 +1,12 @@ # Maintainer: Paul Davis <paul@dangersalad.com> pkgname=reposync -pkgver=0.0.16 +pkgver=0.0.17 pkgrel=1 arch=('any') license=('MIT') source=(reposync.sh) pkgdesc="Wrapper for aursync" -sha256sums=('91862ce0308efbd6be31b94475ea34c6129616d0a8376d89cc21e9fa23394f1d') +sha256sums=('eb0b603f1cb59623d546575257a1a05293ebda44352119b5378153c997d7af33') depends=('aurutils' 'sudo' 'bash' 's3fs-fuse') package () { diff --git a/reposync.sh b/reposync.sh index 2de45f1c68d9..ee419115a81e 100644 --- a/reposync.sh +++ b/reposync.sh @@ -90,6 +90,6 @@ aursync --sign --repo "$repo_name" --root "$local_repo" -u $@ echo "Syncing local repo to remote" echo "$local_repo/ -> $remote_repo/" -$do_rsync "$local_repo/" "$remote_repo/" -$do_rsync -c "$local_repo"/dangersalad.db.* "$remote_repo/" -$do_rsync -c "$local_repo"/dangersalad.files.* "$remote_repo/" +$do_rsync --delete-after "$local_repo/" "$remote_repo/" +$do_rsync -c "${local_repo}/${db_remote_name}"* "$remote_repo/" +$do_rsync -c "${local_repo}/${files_remote_name}"* "$remote_repo/" |