diff options
author | Juan RP <xtraeme@gmail.com> | 2019-12-15 17:55:58 +0000 |
---|---|---|
committer | Juan RP <xtraeme@gmail.com> | 2019-12-15 17:55:58 +0000 |
commit | 3a08e3d1b6d3123804d7acc301098d00296c2665 (patch) | |
tree | 6276d7ed92f035bd7e1f31404a90ebe955278586 | |
parent | f7412cdf8dedf838a3dc7c7c172813a48abf5ce9 (diff) | |
download | void-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.sh | 7 |
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 +} |