summaryrefslogtreecommitdiff
path: root/any-to-ours
diff options
context:
space:
mode:
Diffstat (limited to 'any-to-ours')
-rwxr-xr-xany-to-ours5
1 files changed, 5 insertions, 0 deletions
diff --git a/any-to-ours b/any-to-ours
index 8c37622..1bd7e8a 100755
--- a/any-to-ours
+++ b/any-to-ours
@@ -49,6 +49,11 @@ for _repo in ${ARCHREPOS[@]}; do
grep 'any.pkg.tar' | \
cut -d ' ' -f 1 ))
+ if [ ${#SYNCED[@]} -eq 0 ]; then
+ msg2 "Already synced (or error happened)"
+ continue
+ fi
+
msg2 "Synced ${#SYNCED[@]} packages"
msg2 "Adding to db..."