Always write pkg metadata on install, not just when stowning.

--HG--
extra : convert_revision : b16be22a9acf12005caca53978c1366463b7fff6
This commit is contained in:
Juan RP 2008-12-22 03:48:58 +01:00
parent bf10932be1
commit b13563dbfd
2 changed files with 4 additions and 4 deletions

View file

@ -108,6 +108,10 @@ install_pkg()
. $XBPS_SHUTILSDIR/install_funcs.sh
install_src_phase
# Always write metadata to package's destdir.
. $XBPS_SHUTILSDIR/binpkg.sh
xbps_write_metadata_pkg
#
# Do not stow package if it wasn't requested.
#

View file

@ -53,10 +53,6 @@ stow_pkg()
cd $destdir || exit 1
# Write pkg metadata.
. $XBPS_SHUTILSDIR/binpkg.sh
xbps_write_metadata_pkg
# Copy files into masterdir.
for i in $(echo *); do
cp -ar ${i} $XBPS_MASTERDIR