You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
dialog --yesno "Your user '$user' is not a member of the system group '$group'.\n\nThis is needed for RetroPie to function correctly. May I add '$user' to group '$group'?\n\nYou will need to restart for these changes to take effect." 22 76 2>&1>/dev/tty && usermod -a -G "$group""$user"
98
+
if! hasFlag "$(groups $__user)""$group";then
99
+
dialog --yesno "Your user '$__user' is not a member of the system group '$group'.\n\nThis is needed for RetroPie to function correctly. May I add '$__user' to group '$group'?\n\nYou will need to restart for these changes to take effect." 22 76 2>&1>/dev/tty && usermod -a -G "$group""$__user"
100
100
fi
101
101
done
102
102
fi
@@ -111,7 +111,7 @@ function depends_setup() {
111
111
functionupdatescript_setup()
112
112
{
113
113
clear
114
-
chown -R $user:$user"$scriptdir"
114
+
chown -R "$__user":"$__group""$scriptdir"
115
115
printHeading "Fetching latest version of the RetroPie Setup Script."
0 commit comments