shutils: allow subpkgs to have INSTALL/REMOVE scripts.
--HG-- extra : convert_revision : 4f60ecbd143b5d7d8d168e963c1030e00ad41247
This commit is contained in:
parent
4e77f39a43
commit
17a5ad3a3d
1 changed files with 0 additions and 4 deletions
|
@ -342,10 +342,6 @@ _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