Skip to content

Update Linux Script to Detect Regardless of Case#7

Open
cpierce wants to merge 2 commits intoalinke:mainfrom
cpierce:main
Open

Update Linux Script to Detect Regardless of Case#7
cpierce wants to merge 2 commits intoalinke:mainfrom
cpierce:main

Conversation

@cpierce
Copy link
Copy Markdown

@cpierce cpierce commented Mar 12, 2026

This pull request makes a minor but important update to the OS detection logic in the install-scripts/setup-retropie.sh script. The change ensures that the script correctly identifies supported Linux distributions regardless of the capitalization used in their names.

  • Improved OS detection:
    • All grep -q commands used for detecting distribution names (stretch, jessie, buster, ubuntu) now use the -i flag for case-insensitive matching, making the detection more robust.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant