diff options
author | Luke Shumaker <lukeshu@parabola.nu> | 2018-09-21 19:07:52 -0400 |
---|---|---|
committer | Luke Shumaker <lukeshu@parabola.nu> | 2018-09-21 19:07:52 -0400 |
commit | dbb0f37a13926cf7b16de96b722e91bf9007a4da (patch) | |
tree | fb4db96e93bc6d01ebd5a2bdf97dffab92b659f2 | |
parent | a67fcfc1bad706cd43674c2dbdd1919714d1af25 (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-x | db-update | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -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##*/}" |