tDon't treat hidden/special directories as packs - pm - barely a pack manager
 (HTM) git clone git://z3bra.org/pm
 (DIR) Log
 (DIR) Files
 (DIR) Refs
 (DIR) README
 (DIR) LICENSE
       ---
 (DIR) commit 9d2a5bb11a9e4ca685764375ff8dd6e0f4062b9a
 (DIR) parent e592a819ac5982f7999174cbea4a4b9c76a24e99
 (HTM) Author: z3bra <willyatmailoodotorg>
       Date:   Fri, 17 Jun 2016 01:10:50 +0200
       
       Don't treat hidden/special directories as packs
       
       Diffstat:
         M pm.c                                |       2 +-
       
       1 file changed, 1 insertion(+), 1 deletion(-)
       ---
 (DIR) diff --git a/pm.c b/pm.c
       t@@ -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);
                        }