summaryrefslogtreecommitdiffstats
path: root/db-update
diff options
context:
space:
mode:
authorFlorian Pritz <bluewind@xinu.at>2014-02-04 19:12:14 +0100
committerFlorian Pritz <bluewind@xinu.at>2015-05-27 15:46:04 +0200
commit30f4f0b7648cc54754bd26aeb997c98bc97eda91 (patch)
treef98aa264fb26c758fa9d2b7f742535896f6bd8fa /db-update
parent7085fb0cac4028502574909555305086f84807c6 (diff)
downloaddbscripts-30f4f0b7648cc54754bd26aeb997c98bc97eda91.tar.gz
dbscripts-30f4f0b7648cc54754bd26aeb997c98bc97eda91.tar.xz
check the pkgbuild before adding stuff to the repo
Signed-off-by: Florian Pritz <bluewind@xinu.at>
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