]> pd.if.org Git - zpackage/commitdiff
run syncfs with -v if install is verbose
authorNathan Wagner <nw@hydaspes.if.org>
Sun, 30 Sep 2018 12:09:14 +0000 (12:09 +0000)
committerNathan Wagner <nw@hydaspes.if.org>
Sun, 30 Sep 2018 12:09:14 +0000 (12:09 +0000)
zpm-install

index 76a9654bf13515d9ce5cc5a4975bd0a8e3a93206..9ab9fcd6c6720cdd7e0e31f0110eb6f93f67d778 100755 (executable)
@@ -160,7 +160,11 @@ for pkgstr in "$@"; do
                continue
        fi
 
-       zpm syncfs -f $pkgfile
+       if [ $verbose -gt 0 ]; then
+               zpm syncfs -v -f $pkgfile
+       else
+               zpm syncfs -f $pkgfile
+       fi
 
        if [ $? -ne 0 ]; then
                die 'zpm-syncfs failed';