]> pd.if.org Git - zpackage/commitdiff
remove some debugging verbosity
authorNathan Wagner <nw@hydaspes.if.org>
Sun, 15 Apr 2018 00:35:26 +0000 (19:35 -0500)
committerNathan Wagner <nw@hydaspes.if.org>
Sun, 15 Apr 2018 00:35:26 +0000 (19:35 -0500)
zpm-ipkgfile

index a7be95a862fdecdeaf6a9b1634bdfa49ce2cc9dc..60df2898323c17ccdb78bcfbe2dee70b67a28905 100755 (executable)
@@ -47,8 +47,7 @@ export ZPMPKGFILE
 
 set -e
 for path in $*; do
-       echo installing $path from $pkg
-       set -x
+       printf '%s installing %s\n' $pkg $path
        fhash=$(zpm pkgfileinfo hash $path)
        mode=$(zpm pkgfileinfo mode $path)
        ftype=$(zpm pkgfileinfo filetype $path)
@@ -73,7 +72,6 @@ for path in $*; do
        # to do the extract to temp and such, then
        # you can just add the -S option (secure)
        #cat <<-EOC
-       set -x
        mkdir -p $dir
        zpm extract $pkgfile $fhash $tmppath 0
        chown $owner:$group $tmppath
@@ -81,6 +79,5 @@ for path in $*; do
        # TODO mv -n non-posix, going to need to have extract do all
        # of this
        mv -n $tmppath $dir/$name
-       set +x
        #EOC
 done