From 30f4f0b7648cc54754bd26aeb997c98bc97eda91 Mon Sep 17 00:00:00 2001 From: Florian Pritz Date: Tue, 4 Feb 2014 19:12:14 +0100 Subject: check the pkgbuild before adding stuff to the repo Signed-off-by: Florian Pritz --- db-update | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'db-update') 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 -- cgit v1.2.3-24-g4f1b