Fix "custom-install" templates without $distfiles.

--HG--
extra : convert_revision : c2efead6ee35fa7fcc0d95c05b4eb388971c3171
This commit is contained in:
Juan RP 2009-03-28 19:34:22 +01:00
parent bfbc50521a
commit bf238a0b49
2 changed files with 4 additions and 1 deletions

View File

@ -78,7 +78,9 @@ install_src_phase()
msg_normal "Installed $pkgname-$lver into $XBPS_DESTDIR."
touch -f $XBPS_INSTALL_DONE
if [ "$build_style" != "custom-install" -a -z "$distfiles" ]; then
touch -f $XBPS_INSTALL_DONE
fi
#
# Build subpackages if found.

View File

@ -161,6 +161,7 @@ prepare_tmpl()
[ "$build_style" = "meta-template" ] && return 0
if [ "$build_style" = "custom-install" -a -z "$distfiles" ]; then
set_tmpl_common_vars
return 0
fi