pm

barely a pack manager
git clone git://z3bra.org/pm
Log | Files | Refs | README | LICENSE

commit 8feb8cec683ac7e4bc9105ad3b8829810c9d8ff7
parent e17765dc52fa7fbd49aed285bd6a591018d833f7
Author: z3bra <willyatmailoodotorg>
Date:   Tue Jan 12 14:09:06 2016

Make error messages lowercase

Diffstat:
 pm.c | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/pm.c b/pm.c @@ -158,7 +158,7 @@ inspect_collision(char *rootfs, struct pack *p) chdir(rootfs); while (archive_read_next_header(a, &e) == ARCHIVE_OK) { if (stat(archive_entry_pathname(e), &st) == 0 && !S_ISDIR(st.st_mode)) { - fprintf(stderr, "%s: File exists\n", archive_entry_pathname(e)); + fprintf(stderr, "%s: file exists\n", archive_entry_pathname(e)); r = -1; break; } @@ -491,7 +491,7 @@ delete(const char *rootfs, const char *datadir, const char *packname) /* ignore errors so everything gets deleted */ if (delete_content(f) < 0) { - fprintf(stderr, "%s: Cannot remove pack\n", packname); + fprintf(stderr, "%s: cannot remove pack\n", packname); fclose(f); return ERR_DELETE; } @@ -499,14 +499,14 @@ delete(const char *rootfs, const char *datadir, const char *packname) if (unlink(meta) < 0) { perror(meta); - fprintf(stderr, "%s: Cannot remove metadata\n", packname); + fprintf(stderr, "%s: cannot remove metadata\n", packname); return ERR_DELETE; } snprintf(meta, PATH_MAX, "%s/%s/version", datadir, packname); if (unlink(meta) < 0) { perror(meta); - fprintf(stderr, "%s: Cannot clean metadata\n", packname); + fprintf(stderr, "%s: cannot clean metadata\n", packname); return ERR_DELETE; }