From 8d5e1ab0172884c0e5a35c308efcf3dbf688977d Mon Sep 17 00:00:00 2001 From: Juan RP Date: Mon, 16 Feb 2009 23:00:50 +0100 Subject: [PATCH] More cosmetics printfs for previous. --HG-- extra : convert_revision : 6104b54261f97758aff715a1e2ccabf606cbb13e --- lib/install.c | 11 +++++------ lib/unpack.c | 1 + 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/lib/install.c b/lib/install.c index a2eb3ab7aa7..588929cd465 100644 --- a/lib/install.c +++ b/lib/install.c @@ -57,13 +57,12 @@ xbps_install_binary_pkg_fini(prop_dictionary_t repo, prop_dictionary_t pkg, assert(version != NULL); assert(desc != NULL); - if (repo == false) { + if (repo == false) automatic = true; - printf("Installing dependency %s: found %s-%s ... ", - pkgname, pkgname, version); - } else { - printf("Installing %s-%s ... ", pkgname, version); - } + + printf("Installing %s%s: found version %s ... ", + automatic ? "dependency " : "", pkgname, version); + (void)fflush(stdout); rv = xbps_unpack_binary_pkg(repo, pkg, destdir, NULL); diff --git a/lib/unpack.c b/lib/unpack.c index 459dd164e21..813f3d01163 100644 --- a/lib/unpack.c +++ b/lib/unpack.c @@ -201,6 +201,7 @@ unpack_archive_fini(struct archive *ar, const char *destdir, */ if (strcmp(prepost, archive_entry_pathname(entry)) == 0) { actgt = true; + printf("\n"); archive_entry_set_pathname(entry, buf);