diff options
author | scarf <greenscarf005@gmail.com> | 2023-06-15 08:52:34 +0900 |
---|---|---|
committer | scarf <greenscarf005@gmail.com> | 2023-06-15 08:52:34 +0900 |
commit | 4b487317c30060024df436d010e6126be3a3d49e (patch) | |
tree | 1ee4c3ebc4c131ac0e9ad6cd054a21b51794c9ee | |
parent | bfb5e0bdcddc3ba4866d30c54de49248ca763951 (diff) |
style: use mathematical interval notation
-rw-r--r-- | scripts/install-multi-user.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/install-multi-user.sh b/scripts/install-multi-user.sh index 2e8f2b8c3..45885bfd9 100644 --- a/scripts/install-multi-user.sh +++ b/scripts/install-multi-user.sh @@ -700,8 +700,8 @@ EOF } welcome_to_nix() { - local -r NIX_UID_RANGES="${NIX_FIRST_BUILD_UID} ~ $((NIX_FIRST_BUILD_UID + NIX_USER_COUNT - 1))" - local -r RANGE_TEXT=$(echo -ne "${BLUE}(uid ${NIX_UID_RANGES})${ESC}") + local -r NIX_UID_RANGES="${NIX_FIRST_BUILD_UID}..$((NIX_FIRST_BUILD_UID + NIX_USER_COUNT - 1))" + local -r RANGE_TEXT=$(echo -ne "${BLUE}(uid [${NIX_UID_RANGES}])${ESC}") local -r GROUP_TEXT=$(echo -ne "${BLUE}(gid ${NIX_BUILD_GROUP_ID})${ESC}") ok "Welcome to the Multi-User Nix Installation" |