summaryrefslogtreecommitdiffstats
path: root/db-update
diff options
context:
space:
mode:
Diffstat (limited to 'db-update')
-rwxr-xr-xdb-update5
1 files changed, 5 insertions, 0 deletions
diff --git a/db-update b/db-update
index 54aecaa..52ed996 100755
--- a/db-update
+++ b/db-update
@@ -77,6 +77,11 @@ for repo in ${repos[@]}; do
rm "$pkgfile_arch"
fi
done
+
+ if [[ ${#pkgs_to_add[@]} = 0 ]]; then
+ continue
+ fi
+
arch_db_add $repo "$pkgarch" "${pkgs_to_add[@]}"
done
done