summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@parabola.nu>2018-10-10 00:09:03 -0400
committerLuke Shumaker <lukeshu@parabola.nu>2018-10-10 00:09:03 -0400
commit3b4edf8ed6d60f4257a7415eda6bcbedc30221c9 (patch)
treee3b50205dc2f05f174e4bb47d90fe440d44b6bdb
parenta662e0c9191c9e3d60d7232f9fd6a9bc363b0c70 (diff)
db-update: Allow packages from ALARM not built in a chroot
-rwxr-xr-xdb-update6
1 files changed, 5 insertions, 1 deletions
diff --git a/db-update b/db-update
index 925b389..be67595 100755
--- a/db-update
+++ b/db-update
@@ -89,7 +89,11 @@ for repo in "${repos[@]}"; do
fi
fi
if ! check_builddir "${pkg}"; then
- die "Package %s was not built in a chroot" "$repo/${pkg##*/}"
+ if [[ $DBSCRIPTS_CONFIG = *.archlinuxarm ]]; then
+ warning "Package %s was not built in a chroot" "$repo/${pkg##*/}"
+ else
+ die "Package %s was not built in a chroot" "$repo/${pkg##*/}"
+ fi
fi
done
if ! check_splitpkgs "${repo}" "${pkgs[@]}"; then