From 17a5ad3a3de303ad7de87cfe2fbec026a8406d28 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Mon, 4 May 2009 23:43:32 +0200 Subject: [PATCH] shutils: allow subpkgs to have INSTALL/REMOVE scripts. --HG-- extra : convert_revision : 4f60ecbd143b5d7d8d168e963c1030e00ad41247 --- shutils/metadata.sh | 4 ---- 1 file changed, 4 deletions(-) diff --git a/shutils/metadata.sh b/shutils/metadata.sh index 04e1feb0a3b..955ca799705 100644 --- a/shutils/metadata.sh +++ b/shutils/metadata.sh @@ -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.