Fix "custom-install" templates without $distfiles.
--HG-- extra : convert_revision : c2efead6ee35fa7fcc0d95c05b4eb388971c3171
This commit is contained in:
parent
bfbc50521a
commit
bf238a0b49
@ -78,7 +78,9 @@ install_src_phase()
|
|||||||
|
|
||||||
msg_normal "Installed $pkgname-$lver into $XBPS_DESTDIR."
|
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.
|
# Build subpackages if found.
|
||||||
|
@ -161,6 +161,7 @@ prepare_tmpl()
|
|||||||
[ "$build_style" = "meta-template" ] && return 0
|
[ "$build_style" = "meta-template" ] && return 0
|
||||||
|
|
||||||
if [ "$build_style" = "custom-install" -a -z "$distfiles" ]; then
|
if [ "$build_style" = "custom-install" -a -z "$distfiles" ]; then
|
||||||
|
set_tmpl_common_vars
|
||||||
return 0
|
return 0
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user