pkgtools

morpheus pkg tools
git clone git://git.2f30.org/pkgtools.git
Log | Files | Refs | README | LICENSE

commit 6c5361a05574ea0d0c94df18a627c1256d1224dc
parent 4399a3ba705f912991571fb02eee94553fe523c9
Author: sin <sin@2f30.org>
Date:   Thu May 29 14:26:58 +0100

Print the package name when we abort

Diffstat:
installpkg.c | 4+++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/installpkg.c b/installpkg.c @@ -54,7 +54,9 @@ main(int argc, char *argv[]) for (i = 0; i < argc; i++) { if (fflag == 0) { if (collisions(prefix, argv[i]) != 0) { - fprintf(stderr, "aborting, use -f to override\n"); + fprintf(stderr, + "aborting %s, use -f to override\n", + argv[i]); exit(EXIT_FAILURE); } }