From 1651a5fe6ea1bfe6760f5cf0c0caeb08b2f8cee7 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Tue, 26 Aug 2014 09:55:40 +0200 Subject: [PATCH] xbps-src/doinstall: there's no need to remove pkg metafiles on destdir. --- common/xbps-src/libexec/xbps-src-doinstall.sh | 5 ----- 1 file changed, 5 deletions(-) diff --git a/common/xbps-src/libexec/xbps-src-doinstall.sh b/common/xbps-src/libexec/xbps-src-doinstall.sh index 47928f6339..fee572cfcb 100755 --- a/common/xbps-src/libexec/xbps-src-doinstall.sh +++ b/common/xbps-src/libexec/xbps-src-doinstall.sh @@ -76,11 +76,6 @@ if [ ! -f $XBPS_INSTALL_DONE ]; then exit 0 fi -# Always remove metadata files generated in a previous installation. -for f in INSTALL REMOVE files.plist props.plist rdeps shlib-provides shlib-requires; do - [ -f ${PKGDESTDIR}/${f} ] && rm -f ${PKGDESTDIR}/${f} -done - # If it's a subpkg execute the pkg_install() function. if [ "$sourcepkg" != "$PKGNAME" ]; then # Source all subpkg environment setup snippets.