xbps-src: don't check if base-chroot is installed for every single sourced template
This commit is contained in:
parent
5171ed4a50
commit
723170541d
|
@ -372,12 +372,9 @@ setup_pkg() {
|
|||
esac
|
||||
|
||||
# Check if base-chroot is already installed.
|
||||
if [ -z "$bootstrap" -a "z$show_problems" != "zignore-problems" ]; then
|
||||
check_installed_pkg base-chroot-0.1_1
|
||||
if [ $? -ne 0 ]; then
|
||||
msg_red "${pkg} is not a bootstrap package and cannot be built without it.\n"
|
||||
msg_error "Please install bootstrap packages and try again.\n"
|
||||
fi
|
||||
if [ -z "$bootstrap" -a -z "$CHROOT_READY" -a "z$show_problems" != "zignore-problems" ]; then
|
||||
msg_red "${pkg} is not a bootstrap package and cannot be built without it.\n"
|
||||
msg_error "Please install bootstrap packages and try again.\n"
|
||||
fi
|
||||
|
||||
sourcepkg="${pkgname}"
|
||||
|
|
Loading…
Reference in New Issue