From 2164eddc3319b34d818395ec55884b01c77444e0 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Wed, 1 Apr 2015 15:08:28 +0200 Subject: [PATCH] hooks/create-metadata-scripts: fix INSTALL.msg for subpkgs. The file should be renamed to /INSTALL.msg not something else. Close #1248 --- common/hooks/post-install/04-create-xbps-metadata-scripts.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/common/hooks/post-install/04-create-xbps-metadata-scripts.sh b/common/hooks/post-install/04-create-xbps-metadata-scripts.sh index a7e15d06db5..eb58b5821a5 100644 --- a/common/hooks/post-install/04-create-xbps-metadata-scripts.sh +++ b/common/hooks/post-install/04-create-xbps-metadata-scripts.sh @@ -351,9 +351,9 @@ hook() { msg_error "$pkgver: failed to write REMOVE metadata file!\n" if [ -s ${msg_install} ]; then - install -m644 ${msg_install} ${PKGDESTDIR} + install -m644 ${msg_install} ${PKGDESTDIR}/INSTALL.msg fi if [ -s ${msg_remove} ]; then - install -m644 ${msg_remove} ${PKGDESTDIR} + install -m644 ${msg_remove} ${PKGDESTDIR}/REMOVE.msg fi }