aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJuan RP <xtraeme@gmail.com>2019-12-15 17:55:58 +0000
committerJuan RP <xtraeme@gmail.com>2019-12-15 17:55:58 +0000
commit3a08e3d1b6d3123804d7acc301098d00296c2665 (patch)
tree6276d7ed92f035bd7e1f31404a90ebe955278586
parentf7412cdf8dedf838a3dc7c7c172813a48abf5ce9 (diff)
downloadvoid-packages-3a08e3d1b6d3123804d7acc301098d00296c2665.tar
void-packages-3a08e3d1b6d3123804d7acc301098d00296c2665.tar.gz
void-packages-3a08e3d1b6d3123804d7acc301098d00296c2665.tar.bz2
void-packages-3a08e3d1b6d3123804d7acc301098d00296c2665.tar.lz
void-packages-3a08e3d1b6d3123804d7acc301098d00296c2665.tar.xz
void-packages-3a08e3d1b6d3123804d7acc301098d00296c2665.tar.zst
void-packages-3a08e3d1b6d3123804d7acc301098d00296c2665.zip
xbps-src: new pre-pkg hook that prints collected rdeps.
-rw-r--r--common/hooks/pre-pkg/999-collected-rdeps.sh7
1 files changed, 7 insertions, 0 deletions
diff --git a/common/hooks/pre-pkg/999-collected-rdeps.sh b/common/hooks/pre-pkg/999-collected-rdeps.sh
new file mode 100644
index 00000000000..67f4a6261e8
--- /dev/null
+++ b/common/hooks/pre-pkg/999-collected-rdeps.sh
@@ -0,0 +1,7 @@
+# This hook displays resolved dependencies for a pkg.
+
+hook() {
+ if [ -e $PKGDESTDIR/rdeps ]; then
+ echo " $(cat $PKGDESTDIR/rdeps)"
+ fi
+}