install.sh : ajoute oreo-i3 a la liste blanche des utilisateurs nommes
Sans ca, taper 'oreo-i3' a l'install repondait 'Utilisateur inconnu' -- la liste etait en dur, pas derivee du repo nixos_users. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
@@ -137,10 +137,10 @@ case "$CHOICE" in
|
|||||||
;;
|
;;
|
||||||
|
|
||||||
2)
|
2)
|
||||||
read -rp "Utilisateur (thomas/clara/jade/oreo) : " USER_PROFILE
|
read -rp "Utilisateur (thomas/clara/jade/oreo/oreo-i3) : " USER_PROFILE
|
||||||
USER_PROFILE=$(echo "$USER_PROFILE" | tr '[:upper:]' '[:lower:]' | xargs)
|
USER_PROFILE=$(echo "$USER_PROFILE" | tr '[:upper:]' '[:lower:]' | xargs)
|
||||||
case "$USER_PROFILE" in
|
case "$USER_PROFILE" in
|
||||||
thomas|clara|jade|oreo) ;;
|
thomas|clara|jade|oreo|oreo-i3) ;;
|
||||||
*)
|
*)
|
||||||
echo "Utilisateur inconnu : $USER_PROFILE" >&2
|
echo "Utilisateur inconnu : $USER_PROFILE" >&2
|
||||||
exec bash
|
exec bash
|
||||||
|
|||||||
Reference in New Issue
Block a user