From: Nathan Wagner Date: Sat, 24 Nov 2018 01:25:14 +0000 (+0000) Subject: chatter more with verbose add X-Git-Tag: v0.2.16~5 X-Git-Url: https://pd.if.org/git/?p=zpackage;a=commitdiff_plain;h=6e69f889350d0298afabfe50059ca1bf3c70d87e chatter more with verbose add --- diff --git a/zpm-add b/zpm-add index 09adaac..d5fca8e 100755 --- 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)}