summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorMattie <pugmatt@gmail.com>2023-02-13 02:59:23 -0500
committerMattie <pugmatt@gmail.com>2023-02-13 02:59:23 -0500
commitf609833aabc0b65d35d9b7406e12e8d86769a432 (patch)
tree1a30dbfa3757d11a1ce7a5c64708f35de271911d /scripts
parentb26b895ed568a446b5697bb68cb7b3c18b360052 (diff)
downloadBedrockConnect-f609833aabc0b65d35d9b7406e12e8d86769a432.tar.gz
BedrockConnect-f609833aabc0b65d35d9b7406e12e8d86769a432.tar.bz2
BedrockConnect-f609833aabc0b65d35d9b7406e12e8d86769a432.zip
Fix install-bind.sh for Raspberry Pi OS
Fix for https://github.com/Pugmatt/BedrockConnect/issues/362
Diffstat (limited to 'scripts')
-rw-r--r--scripts/docker-install-bind.sh4
-rw-r--r--scripts/install-bind.sh4
2 files changed, 4 insertions, 4 deletions
diff --git a/scripts/docker-install-bind.sh b/scripts/docker-install-bind.sh
index 8571e3c..6c0f11c 100644
--- a/scripts/docker-install-bind.sh
+++ b/scripts/docker-install-bind.sh
@@ -5,7 +5,7 @@
# BCIP Optional IP of the bedrock connect server (Default: 104.238.130.180)
# NSIP Optional IP of the name server (Default: same as the bedrock connect server)
#
-# Should support Ubuntu 18+ and Cent OS 7+
+# Should support Ubuntu 18+, Cent OS 7+, Arch, and Debian
# Tested on: Ubuntu 18.04 LTS, Ubuntu 20.04 LTS, Cent OS 7 and Cent OS 8
#
@@ -90,7 +90,7 @@ if [[ -f /etc/os-release ]]; then
NAMED_ZONES="/etc/named.conf"
NAMED_DBS="/var/named"
SERVICE_NAME="named"
- elif [[ "$ID" == "debian" ]]; then
+ elif [[ "$ID" == "debian" || "$ID_LIKE" == "debian" ]]; then
PKG_MGR=apt
PKG_MGR_SYNTAX="install"
PKGS="bind9 dnsutils"
diff --git a/scripts/install-bind.sh b/scripts/install-bind.sh
index c518290..20b3e10 100644
--- a/scripts/install-bind.sh
+++ b/scripts/install-bind.sh
@@ -5,7 +5,7 @@
# BCIP Optional IP of the bedrock connect server (Default: 104.238.130.180)
# NSIP Optional IP of the name server (Default: same as the bedrock connect server)
#
-# Should support Ubuntu 18+ and Cent OS 7+
+# Should support Ubuntu 18+, Cent OS 7+, Arch, and Debian
# Tested on: Ubuntu 18.04 LTS, Ubuntu 20.04 LTS, Cent OS 7 and Cent OS 8
#
@@ -90,7 +90,7 @@ if [[ -f /etc/os-release ]]; then
NAMED_ZONES="/etc/named.conf"
NAMED_DBS="/var/named"
SERVICE_NAME="named"
- elif [[ "$ID" == "debian" ]]; then
+ elif [[ "$ID" == "debian" || "$ID_LIKE" == "debian" ]]; then
PKG_MGR=apt
PKG_MGR_SYNTAX="install"
PKGS="bind9 dnsutils"