Fix "custom-install" templates without $distfiles.
--HG-- extra : convert_revision : c2efead6ee35fa7fcc0d95c05b4eb388971c3171
This commit is contained in:
parent
bfbc50521a
commit
bf238a0b49
2 changed files with 4 additions and 1 deletions
|
@ -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.
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue