Skip to content

Commit

Permalink
Optimize case
Browse files Browse the repository at this point in the history
  • Loading branch information
pabera committed Jan 2, 2024
1 parent e18189b commit 9cebeaa
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion documentation/builders/components/soundcards/hifiberry.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
Run the following command to install any HiFiBerry board. Make sure you reboot your device afterwards.

```
$ cd; cd ~/RPi-Jukebox-RFID/installation/components && chmod +x setup_hifiberry.sh && sudo -E ./setup_hifiberry.sh
cd; cd ~/RPi-Jukebox-RFID/installation/components && chmod +x setup_hifiberry.sh && sudo -E ./setup_hifiberry.sh
```

Optional: You can register your sound card with ALSA. Define the following variable before running the script: `CONFIGURE_ALSA=true`
Expand Down
8 changes: 4 additions & 4 deletions installation/components/setup_hifiberry.sh
Original file line number Diff line number Diff line change
Expand Up @@ -29,12 +29,12 @@ check_existing_hifiberry() {
echo "Existing HiFiBerry configuration detected: $existing_config"
read -p "Do you want to proceed with a new configuration? This will remove the existing one. (Y/n): " yn
case $yn in
[yY][eE][sS]|[yY])
remove_existing_hifiberry;
return 0;;
*)
[nN][oO]|[nN])
echo "Exiting without making changes.";
exit;;
*)
remove_existing_hifiberry;
return 0;;
esac
fi
}
Expand Down

0 comments on commit 9cebeaa

Please sign in to comment.