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):
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:
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