Don't propagate $replaces value to subpkgs, use its own if defined.

--HG--
extra : convert_revision : xtraeme%40gmail.com-20091017031254-6zb0zhymwdhcu4na
This commit is contained in:
Juan RP 2009-10-17 05:12:54 +02:00
parent 3ddf276437
commit 22c40a2f91

View File

@ -57,7 +57,7 @@ xbps_write_metadata_pkg()
if [ ! -f $XBPS_TEMPLATESDIR/$sourcepkg/$subpkg.template ]; then
msg_error "Cannot find subpackage template!"
fi
unset run_depends conf_files noarch triggers \
unset run_depends conf_files noarch triggers replaces \
revision openrc_services essential keep_empty_dirs
. $XBPS_TEMPLATESDIR/${sourcepkg}/${subpkg}.template
pkgname=${sourcepkg}-${subpkg}