From 96145d5fdc0d695414f200c2afa372818f4857df Mon Sep 17 00:00:00 2001 From: Joseph Hunkeler Date: Mon, 30 Dec 2019 16:01:31 -0500 Subject: Fixes * Verbosity++ * If no requirements are present do not to report we are installing some * Redirect all shell output to stderr (need a better way) * implemented file_is_binexec() to avoid running patchelf on generic data files --- src/spm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/spm.c') diff --git a/src/spm.c b/src/spm.c index 11ad736..5759688 100644 --- a/src/spm.c +++ b/src/spm.c @@ -198,7 +198,7 @@ int main(int argc, char *argv[]) { } } - if (deps) { + if (deps->records) { // List requirements before installation for (size_t i = 0; i < deps->records; i++) { printf(" -> %s\n", deps->list[i]); -- cgit