about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rwxr-xr-xbin/regusers.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/bin/regusers.py b/bin/regusers.py
index 2c482d9..3fbb9df 100755
--- a/bin/regusers.py
+++ b/bin/regusers.py
@@ -22,6 +22,8 @@ if __name__ == "__main__":
     regusers = get_regusers("/home")
     usertable.write("<ul>\n")
     for user in sorted(regusers):
-        if user != "lost+found" and user != ".git" and user != "uucp" and user != "admins":
+        is_system = user.startswith("_")
+        is_hidden_dir = user.startswith(".")
+        if user != "lost+found" and user != "uucp" and user != "admins" and is_system == False and is_hidden_dir == False:
             usertable.write("<li><a href=\"https://"+ user +".tilde.institute\">"+ user +"</a></li>\n")
     usertable.write("</ul>\n")
2 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154