Always write pkg metadata on install, not just when stowning.
--HG-- extra : convert_revision : b16be22a9acf12005caca53978c1366463b7fff6
This commit is contained in:
parent
bf10932be1
commit
b13563dbfd
2 changed files with 4 additions and 4 deletions
|
@ -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.
|
||||
#
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue