summaryrefslogtreecommitdiffstats
path: root/usr.sbin/pkg_install/create/perform.c
diff options
context:
space:
mode:
authorjkh <jkh@FreeBSD.org>1995-04-22 00:59:33 +0000
committerjkh <jkh@FreeBSD.org>1995-04-22 00:59:33 +0000
commit0ca59fff83eedf3ccf4517370a95d30dfdd3af65 (patch)
treedaff36194176f05d7133141a3c05b53e47d635e0 /usr.sbin/pkg_install/create/perform.c
parenta44587d41a22f9f97697eacb8094f156af031760 (diff)
downloadFreeBSD-src-0ca59fff83eedf3ccf4517370a95d30dfdd3af65.zip
FreeBSD-src-0ca59fff83eedf3ccf4517370a95d30dfdd3af65.tar.gz
Don't spew garbage into the packing list when PlistOnly and verbose are
both on. Whoops!
Diffstat (limited to 'usr.sbin/pkg_install/create/perform.c')
-rw-r--r--usr.sbin/pkg_install/create/perform.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.sbin/pkg_install/create/perform.c b/usr.sbin/pkg_install/create/perform.c
index 06d517e..174abea 100644
--- a/usr.sbin/pkg_install/create/perform.c
+++ b/usr.sbin/pkg_install/create/perform.c
@@ -1,5 +1,5 @@
#ifndef lint
-static const char *rcsid = "$Id: perform.c,v 1.16 1995/04/10 08:01:52 jkh Exp $";
+static const char *rcsid = "$Id: perform.c,v 1.17 1995/04/22 00:03:09 jkh Exp $";
#endif
/*
@@ -64,7 +64,7 @@ pkg_perform(char **pkgs)
/* Stick the dependencies, if any, at the top */
if (Pkgdeps) {
- if (Verbose)
+ if (Verbose && !PlistOnly)
printf("Registering depends:");
while (Pkgdeps) {
cp = strsep(&Pkgdeps, " \t\n");
@@ -74,7 +74,7 @@ pkg_perform(char **pkgs)
printf(" %s", cp);
}
}
- if (Verbose)
+ if (Verbose && !PlistOnly)
printf(".\n");
}
/* Slurp in the packing list */
OpenPOWER on IntegriCloud