aboutsummaryrefslogtreecommitdiff
path: root/common/hooks/post-install
diff options
context:
space:
mode:
authorMichael Gehring <mg@ebfe.org>2018-03-05 12:47:43 +0000
committerMichael Aldridge <maldridge@VoidLinux.eu>2018-03-06 03:50:05 +0000
commitb9e321456b35a71c269a99731ecde912f9e0d529 (patch)
tree9f7ded5503732cdcaed18d6cff7ba30a9acf3b51 /common/hooks/post-install
parent6654a1a1fdd5917bce89a813b45d669657eca67f (diff)
downloadvoid-packages-b9e321456b35a71c269a99731ecde912f9e0d529.tar
void-packages-b9e321456b35a71c269a99731ecde912f9e0d529.tar.gz
void-packages-b9e321456b35a71c269a99731ecde912f9e0d529.tar.bz2
void-packages-b9e321456b35a71c269a99731ecde912f9e0d529.tar.lz
void-packages-b9e321456b35a71c269a99731ecde912f9e0d529.tar.xz
void-packages-b9e321456b35a71c269a99731ecde912f9e0d529.tar.zst
void-packages-b9e321456b35a71c269a99731ecde912f9e0d529.zip
xbps-src: make -dbg packages depend on the pkgver they are generated from
Closes: #12161 [via git-merge-pr]
Diffstat (limited to 'common/hooks/post-install')
-rw-r--r--common/hooks/post-install/06-strip-and-debug-pkgs.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/common/hooks/post-install/06-strip-and-debug-pkgs.sh b/common/hooks/post-install/06-strip-and-debug-pkgs.sh
index 109563deb5a..0972f7e3441 100644
--- a/common/hooks/post-install/06-strip-and-debug-pkgs.sh
+++ b/common/hooks/post-install/06-strip-and-debug-pkgs.sh
@@ -51,6 +51,7 @@ create_debug_pkg() {
msg_red "$pkgver: failed to create debug pkg\n"
return 1
fi
+ printf "${pkgver} " >> ${_destdir}/rdeps
rmdir --ignore-fail-on-non-empty "${PKGDESTDIR}/usr/lib" 2>/dev/null
return 0
}