summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xdb-sync5
1 files changed, 5 insertions, 0 deletions
diff --git a/db-sync b/db-sync
index 110dba1..d86d348 100755
--- a/db-sync
+++ b/db-sync
@@ -68,6 +68,11 @@ init() {
repo_file=$(get_repo_file ${_repo} ${_arch})
+ if [ ! -f "${repo_file}" ]; then
+ warning "${repo_file} doesn't exist, skipping this repo-arch"
+ continue
+ fi
+
# Remove blacklisted packages and count them
# TODO capture all removed packages for printing on debug mode
msg2 "Removing blacklisted packages: $(