pm

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

commit 9d2a5bb11a9e4ca685764375ff8dd6e0f4062b9a
parent e592a819ac5982f7999174cbea4a4b9c76a24e99
Author: z3bra <willyatmailoodotorg>
Date:   Fri Jun 17 01:10:50 +0200

Don't treat hidden/special directories as packs

Diffstat:
pm.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/pm.c b/pm.c @@ -249,7 +249,7 @@ inspect_system(int fd, const char *datadir) } while ((p = readdir(d))) - if (strcmp(p->d_name, ".") && strcmp(p->d_name, "..")) { + if (p->d_name[0] != '.') { inspect_version(datadir, p->d_name, ver); dprintf(fd, "%s\t%s\n", p->d_name, ver); }