aboutsummaryrefslogtreecommitdiff
path: root/common/hooks/post-install
diff options
context:
space:
mode:
authorJuan RP <xtraeme@gmail.com>2015-04-01 13:08:28 +0000
committerJuan RP <xtraeme@gmail.com>2015-04-01 13:08:28 +0000
commit2164eddc3319b34d818395ec55884b01c77444e0 (patch)
treeab1a9278cb02f9e46cba5cd89e3105846b896e40 /common/hooks/post-install
parentfe2ee6875118e459bb1f30b94b91c5d5722fae8c (diff)
downloadvoid-packages-2164eddc3319b34d818395ec55884b01c77444e0.tar
void-packages-2164eddc3319b34d818395ec55884b01c77444e0.tar.gz
void-packages-2164eddc3319b34d818395ec55884b01c77444e0.tar.bz2
void-packages-2164eddc3319b34d818395ec55884b01c77444e0.tar.lz
void-packages-2164eddc3319b34d818395ec55884b01c77444e0.tar.xz
void-packages-2164eddc3319b34d818395ec55884b01c77444e0.tar.zst
void-packages-2164eddc3319b34d818395ec55884b01c77444e0.zip
hooks/create-metadata-scripts: fix INSTALL.msg for subpkgs.
The file should be renamed to <destdir>/INSTALL.msg not something else. Close #1248
Diffstat (limited to 'common/hooks/post-install')
-rw-r--r--common/hooks/post-install/04-create-xbps-metadata-scripts.sh4
1 files 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
}