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:
2026-09-12 12:11:55 +02:00
co-authored by Claude Sonnet 5
parent 6d9ec09ecb
commit a1762f2922
+2 -2
View File
@@ -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