summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@parabola.nu>2018-10-08 20:48:23 -0400
committerLuke Shumaker <lukeshu@parabola.nu>2018-10-08 20:48:23 -0400
commit34917b6fb524b086b6b5ca953620231165a5d5e8 (patch)
treef7e41fe4c43c20301c8f8abb2f67b25ee930e7f6
parent8e6127b129e5f8cbb82a2555046cd57e1732c5ad (diff)
db-update: Allow packages from ALARM that don't have .BUILDINFO
With some new ALARM repos being imported in 435025e98adc3db8628fbe8e08d68766737d2943, we're hitting the problem that some of their older packages don't have .BUILDINFO.
-rwxr-xr-xdb-update6
1 files changed, 5 insertions, 1 deletions
diff --git a/db-update b/db-update
index b6b4d0d..925b389 100755
--- a/db-update
+++ b/db-update
@@ -82,7 +82,11 @@ for repo in "${repos[@]}"; do
fi
fi
if ! check_buildinfo "${pkg}"; then
- die "Package %s does not have a .BUILDINFO file" "$repo/${pkg##*/}"
+ if [[ $DBSCRIPTS_CONFIG = *.archlinuxarm ]]; then
+ warning "Package %s does not have a .BUILDINFO file" "$repo/${pkg##*/}"
+ else
+ die "Package %s does not have a .BUILDINFO file" "$repo/${pkg##*/}"
+ fi
fi
if ! check_builddir "${pkg}"; then
die "Package %s was not built in a chroot" "$repo/${pkg##*/}"