Pugmatt / BedrockConnect

Join any Minecraft Bedrock Edition server IP on Xbox One, Nintendo Switch, and PS4/PS5
GNU General Public License v3.0
1.39k stars 161 forks source link

install-bind.sh fails on Raspberry Pi OS #362

Closed PedroClemo closed 1 year ago

PedroClemo commented 1 year ago

What happened?

When running install-bind.sh on a Raspberry Pi (in my case Raspberry Pi Zero) that's running Raspberry Pi OS (formally Raspbian) it fails with the following output:

Unsupported OS

This is easily fixed with the following command (assuming you downloaded the script to the current user's home directory):

sed -i 's/"$ID" == "debian"/"$ID" == "debian" || "$ID_LIKE" == "debian"/g' ~/install-bind.sh

or with a manual edit of the file (line 93) where you change:

elif [[ "$ID" == "debian" ]]; then

to

elif [[ "$ID" == "debian" || "$ID_LIKE" == "debian" ]]; then

and the script then runs flawlessly.

Expected Behaviour?

The script complete all steps and install/configure BIND9 in the necessary manner.

Steps to reproduce.

No response

Screenshots/Videos

No response

Minecraft Bedrock Version

No response

Console

No response

Additional Context

No response

Pugmatt commented 1 year ago

Thank you for reporting this, it has now been updated in the repository.