summaryrefslogtreecommitdiff
path: root/cron-jobs/repo-sanity-check
diff options
context:
space:
mode:
Diffstat (limited to 'cron-jobs/repo-sanity-check')
-rwxr-xr-xcron-jobs/repo-sanity-check8
1 files changed, 3 insertions, 5 deletions
diff --git a/cron-jobs/repo-sanity-check b/cron-jobs/repo-sanity-check
index 012b544..86f9629 100755
--- a/cron-jobs/repo-sanity-check
+++ b/cron-jobs/repo-sanity-check
@@ -1,5 +1,5 @@
#!/bin/bash
-# Solves issue165
+# Solves issue165... on the old flyspray install. I have no idea what issue that was.
. "$(dirname "$(readlink -e "$0")")/../config"
. "$(dirname "$(readlink -e "$0")")/../db-functions"
@@ -46,12 +46,10 @@ for _repo in "${PKGREPOS[@]}"; do
<(printf '%s\n' "${on_repo[@]}" | sort -u) ))
# Remove them from databases, ftpdir-cleanup will take care of the rest
- find "${FTP_BASE}/${_repo}" -name "*.db.tar.?z" -exec \
- repo-remove {} "${remove[@]}" >/dev/null 2>&1 \;
+ find "${FTP_BASE}/${_repo}" -name "*.db.tar.?z" \
+ -exec repo-remove {} "${remove[@]}" >/dev/null 2>&1 \;
msg2 "Removed the following packages:"
plain '%s' "${remove[@]}"
done
-
-exit $?