xbps-src: don't skip creating metadata for bootstrap subpkgs in chroot.

This commit is contained in:
Juan RP 2011-07-08 09:48:09 +02:00
parent 01e8cb6de1
commit f2ee328ee0

View file

@ -34,7 +34,9 @@ xbps_write_metadata_pkg()
spkgrev="${subpkg}-${version}"
fi
check_installed_pkg ${spkgrev}
[ $? -eq 0 ] && continue
if [ $? -eq 0 -a -z "$DESTDIR_ONLY_INSTALL" ]; then
continue
fi
if [ ! -f $XBPS_SRCPKGDIR/${sourcepkg}/${subpkg}.template ]; then
msg_error "Cannot find subpkg '${subpkg}' build template!\n"