metadata.sh: don't create INSTALL/REMOVE scripts for subpkgs, for now.
--HG-- extra : convert_revision : 8026610f3ac2f4e4617142e6ce1370944b3dfac2
This commit is contained in:
parent
e1425ea26c
commit
509b140eba
1 changed files with 4 additions and 0 deletions
|
@ -334,6 +334,10 @@ _EOF
|
|||
$XBPS_REGPKGDB_CMD sanitize-plist $metadir/props.plist
|
||||
chmod 644 $metadir/*
|
||||
|
||||
# Do not create INSTALL/REMOVE scripts for subpkgs.
|
||||
if [ -n "$sourcepkg" -a "$pkgname" != "$sourcepkg" ]; then
|
||||
return 0
|
||||
fi
|
||||
#
|
||||
# Create the INSTALL/REMOVE scripts if package uses them
|
||||
# or uses any available trigger.
|
||||
|
|
Loading…
Reference in a new issue