summaryrefslogtreecommitdiff
path: root/bin/pkg
diff options
context:
space:
mode:
authorDaniel Friesel <derf@derf.homelinux.org>2008-05-31 13:44:02 +0200
committerDaniel Friesel <derf@derf.homelinux.org>2008-05-31 13:44:02 +0200
commit38be454a16c22ea6260a7b8b226997902a84b695 (patch)
tree3716795ac835824f190bd8d600b35e3c11bf2450 /bin/pkg
parentfcb7a39abec7334bdba6f4ca0885cd3a0569c23c (diff)
bin/pkg: pkg_info(): Also show hooks
Diffstat (limited to 'bin/pkg')
-rwxr-xr-xbin/pkg4
1 files changed, 4 insertions, 0 deletions
diff --git a/bin/pkg b/bin/pkg
index 35e5946..f5767c6 100755
--- a/bin/pkg
+++ b/bin/pkg
@@ -178,6 +178,10 @@ pkg_info () {
echo $LOG | grep -m1 'changeset:' | grep -E -o '[0-9]{1,}:[0-9a-f]*'
info "Last update: "
echo $LOG | grep -m1 'date:' | grep -Eo '[A-Z][a-z]{2}.*'
+ if ([ -d hooks ]) {
+ info "Hooks: "
+ ls hooks
+ }
if ([ -r .deps ]) {
info "Dependencies:\n"
cat .deps