]> git.netwichtig.de Git - user/henk/code/inspircd.git/commitdiff
Add a comment for packagers who delete the --{uid,gid} checks.
authorSadie Powell <sadie@witchery.services>
Tue, 31 Mar 2020 16:30:46 +0000 (17:30 +0100)
committerSadie Powell <sadie@witchery.services>
Tue, 31 Mar 2020 16:33:55 +0000 (17:33 +0100)
configure

index ccb551ce5e5d1ed3be6ee859e3f5569c0aca0f7a..2fb332b59ed5951a777fdf495960f5ff238b5277 100755 (executable)
--- a/configure
+++ b/configure
@@ -226,6 +226,7 @@ unprivileged user/group to build and run as or pass the '--gid [id|name]' flag
 to specify an unprivileged group to run as.
 EOW
                if (!prompt_bool $interactive, "Are you sure you want to build as the $group[0] group?", 0) {
+                       # PACKAGERS: You do not need to delete this check. Use `--gid $(id -g)` or `--gid 0` instead.
                        say STDERR "If you are sure you want to build as the $group[0] group pass the --gid $group[2] flag." unless $interactive;
                        exit 1;
                }
@@ -252,6 +253,7 @@ unprivileged user/group to build and run as or pass the '--uid [id|name]' flag
 to specify an unprivileged user to run as.
 EOW
                if (!prompt_bool $interactive, "Are you sure you want to build as the $user[0] user?", 0) {
+                       # PACKAGERS: You do not need to delete this check. Use `--uid $(id -u)` or `--uid 0` instead.
                        say STDERR "If you are sure you want to build as the $user[0] user pass the --uid $user[2] flag." unless $interactive;
                        exit 1;
                }