]> pd.if.org Git - zpackage/commitdiff
chatter more with verbose add
authorNathan Wagner <nw@hydaspes.if.org>
Sat, 24 Nov 2018 01:25:14 +0000 (01:25 +0000)
committerNathan Wagner <nw@hydaspes.if.org>
Sat, 24 Nov 2018 01:25:14 +0000 (01:25 +0000)
zpm-add

diff --git a/zpm-add b/zpm-add
index 09adaac941102f50b2c10f854fd128e32e19c483..d5fca8e2b225c0b05ae130c92e8ab3b3a273005c 100755 (executable)
--- a/zpm-add
+++ b/zpm-add
@@ -125,6 +125,9 @@ pkgrel=$(zpm quote "$release")
 #strip=$(cleanpath "$strip")
 for path in $*; do
        #echo adding $path
+if [ $verbose -gt 0 ]; then
+       printf "adding %s\n" $path
+fi
 
        # only stat the file for items not set on the command line
        mode=${clmode:-$(zpm stat -l -f '%a' $path)}