diff options
author | paulbdavis | 2018-02-25 15:53:32 -0700 |
---|---|---|
committer | paulbdavis | 2018-02-25 15:53:32 -0700 |
commit | f0a715a832b51bd72a7bb52d6ef892151a0398f6 (patch) | |
tree | bbc6f078868641b0e3b7f86b16439934afbb5ea2 | |
parent | 1d971a9599f246cc5f3a17d8c336372c6c74b984 (diff) | |
download | aur-f0a715a832b51bd72a7bb52d6ef892151a0398f6.tar.gz |
remove aursync backup files before final rsync
-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" |