From 5313e8162d4cdd6a3b9ef955f3eb09b77f2e9437 Mon Sep 17 00:00:00 2001 From: Matthias Lucas Jaros Date: Sun, 19 Oct 2025 20:08:16 +0200 Subject: Added environment parsing of repos and users --- init | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'init') diff --git a/init b/init index 50a2e27..44f46e3 100755 --- a/init +++ b/init @@ -92,6 +92,10 @@ for repo in (set -n | string match -r "^REPO_\S+") set repos $repos (eval echo \$$repo) end +if set -q $_flag_g + set GIT_UID $_flag_g +end + # Setup users adduser git -u $GIT_UID -D --shell "/usr/bin/git-shell" for user in $users -- cgit v1.3.1