openDsh / dash

Join us on Slack! https://join.slack.com/t/opendsh/shared_invite/zt-la398uly-a6eMH5ttEQhbtE6asVKx4Q
GNU General Public License v3.0
238 stars 69 forks source link

Update rpi.sh for 64-bit Raspberry Pi OS #164

Closed breakingspell closed 1 month ago

breakingspell commented 1 month ago

Description:

Raspberry Pi OS is not labeled as "Raspbian" in /etc/os-release for 64-bit releases. This breaks compatibility with the rpi.sh addition script, which otherwise will work on 64-bit Raspberry Pi OS Bookworm for brightness udev rule, etc.

This is already fixed in install.sh, using same check here. Confirmed that /etc/rpi-issue is present on both armhf and arm64 builds of Bullseye and Bookworm.

Related issue (if applicable): https://github.com/openDsh/dash/issues/149

Checklist: