diff options
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 2 | ||||
-rw-r--r-- | reposync.sh | 2 |
3 files changed, 4 insertions, 2 deletions
@@ -9,7 +9,7 @@ pkgbase = reposync depends = bash depends = s3fs-fuse source = reposync.sh - sha256sums = 6b668906c9f9dd6b3b7e0ad8dacb48b68460af20bf5bf37cfd523088ab620bc5 + sha256sums = 17b634aff7c5802f554232c485d5b38ac69b280f3baa316bbac40660fcc7622f pkgname = reposync @@ -6,7 +6,7 @@ arch=('any') license=('MIT') source=(reposync.sh) pkgdesc="Wrapper for aursync" -sha256sums=('6b668906c9f9dd6b3b7e0ad8dacb48b68460af20bf5bf37cfd523088ab620bc5') +sha256sums=('17b634aff7c5802f554232c485d5b38ac69b280f3baa316bbac40660fcc7622f') depends=('aurutils' 'sudo' 'bash' 's3fs-fuse') package () { diff --git a/reposync.sh b/reposync.sh index 86f47f08fd41..0b6eb960550e 100644 --- a/reposync.sh +++ b/reposync.sh @@ -98,6 +98,8 @@ aursync --sign --repo "$repo_name" --root "$local_repo" -u $@ # remove all the extras rm -f "${db_local_name}"* rm -f "${files_local_name}"* + # remove backup files from aursync + rm -f *~ ) echo "Syncing local repo to remote" |