xbps-src: make -D install work with bootstrap subpkgs.

This commit is contained in:
Juan RP 2011-07-06 08:42:02 +02:00
parent f6683831cf
commit fa1c9ab96f
2 changed files with 4 additions and 2 deletions

View file

@ -129,8 +129,9 @@ install_src_phase()
spkgrev="${subpkg}-${version}"
fi
check_installed_pkg ${spkgrev}
[ $? -eq 0 ] && continue
if [ $? -eq 0 -a -z "$BOOTSTRAP_PKG_REBUILD" ]; then
continue
fi
msg_normal "'${sourcepkg}-$lver': preparing subpackage '${subpkg}'...\n"
if [ ! -f $XBPS_SRCPKGDIR/${sourcepkg}/${subpkg}.template ]; then
msg_error "Cannot find '${subpkg}' subpkg build template!\n"