Skip to content

Commit

Permalink
Add raspbian support to installer
Browse files Browse the repository at this point in the history
Fixes #52
  • Loading branch information
rs committed Jan 12, 2020
1 parent 8c0703d commit 8d23788
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,7 @@ install_type() {
centos|fedora|rhel)
echo "rpm"
;;
debian|ubuntu)
debian|ubuntu|raspbian)
echo "deb"
;;
arch)
Expand Down Expand Up @@ -529,7 +529,7 @@ detect_os() {
# shellcheck disable=SC1091
dist=$(. /etc/os-release; echo "$ID")
case $dist in
debian|ubuntu|centos|fedora|rhel|arch|openwrt)
debian|ubuntu|raspbian|raspbian|centos|fedora|rhel|arch|openwrt)
echo "$dist"; return 0
;;
esac
Expand Down Expand Up @@ -603,7 +603,7 @@ silent_exec() {

bin_location() {
case $OS in
centos|fedora|rhel|debian|ubuntu|arch|openwrt)
centos|fedora|rhel|debian|ubuntu|raspbian|arch|openwrt)
echo "/usr/bin/nextdns"
;;
darwin|synology)
Expand Down

0 comments on commit 8d23788

Please sign in to comment.