From 6c49a4ffc4fb3b9538ad319f33c9d8182e88adfa Mon Sep 17 00:00:00 2001 From: Franck Cuny Date: Sun, 29 May 2022 09:01:06 -0700 Subject: fix(cgit): write the test correctly Change-Id: I1c57da26d315c847fc5cef134e75a34395764ac9 Reviewed-on: https://cl.fcuny.net/c/world/+/161 Reviewed-by: Franck Cuny --- modules/services/cgit/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/services') diff --git a/modules/services/cgit/default.nix b/modules/services/cgit/default.nix index 7abe537..484a708 100644 --- a/modules/services/cgit/default.nix +++ b/modules/services/cgit/default.nix @@ -73,7 +73,7 @@ in { exclude_repos="password-store|All-Projects|All-Users|homelab" for repo in ''${repos}; do - if [[ ! $exclude_repos ~= $repo ]]; then + if [[ ! $exclude_repos =~ $repo ]]; then echo "''${repo}.git" >> $tmplist fi done -- cgit 1.4.1