diff options
author | Florian Pritz <bluewind@xinu.at> | 2014-02-04 19:12:14 +0100 |
---|---|---|
committer | Florian Pritz <bluewind@xinu.at> | 2015-05-27 15:46:04 +0200 |
commit | 30f4f0b7648cc54754bd26aeb997c98bc97eda91 (patch) | |
tree | f98aa264fb26c758fa9d2b7f742535896f6bd8fa /db-update | |
parent | 7085fb0cac4028502574909555305086f84807c6 (diff) | |
download | dbscripts-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-x | db-update | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -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 |