summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@parabola.nu>2018-09-21 19:07:52 -0400
committerLuke Shumaker <lukeshu@parabola.nu>2018-09-21 19:07:52 -0400
commitdbb0f37a13926cf7b16de96b722e91bf9007a4da (patch)
treefb4db96e93bc6d01ebd5a2bdf97dffab92b659f2
parenta67fcfc1bad706cd43674c2dbdd1919714d1af25 (diff)
db-update: Allow packages without PACKAGER set when importing from Arch 32parabola/20180921
Work around for: https://bugs.archlinux32.org/index.php?do=details&task_id=52
-rwxr-xr-xdb-update6
1 files changed, 5 insertions, 1 deletions
diff --git a/db-update b/db-update
index a36199e..e2b2741 100755
--- a/db-update
+++ b/db-update
@@ -75,7 +75,11 @@ for repo in "${repos[@]}"; do
die "Package %s already exists in another repository" "$repo/${pkg##*/}"
fi
if ! check_packager "${pkg}"; then
- die "Package %s does not have a valid packager" "$repo/${pkg##*/}"
+ if [[ $DBSCRIPTS_CONFIG = *.archlinux32 ]]; then
+ warning "Package %s does not have a valid packager" "$repo/${pkg##*/}"
+ else
+ die "Package %s does not have a valid packager" "$repo/${pkg##*/}"
+ fi
fi
if ! check_buildinfo "${pkg}"; then
die "Package %s does not have a .BUILDINFO file" "$repo/${pkg##*/}"