Skip to content

Commit

Permalink
ncp-suggestions: fix Raspbian parsing
Browse files Browse the repository at this point in the history
  • Loading branch information
nachoparker committed Sep 13, 2018
1 parent 6e1a1a9 commit ee370f1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/ncp-suggestions
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ OUT="$@"

DNSMASQ_ON="$( grep "^ACTIVE_=" /usr/local/etc/ncp-config.d/dnsmasq.sh | cut -d'=' -f2 )"

grep -q "distribution|.*bian GNU/Linux 9" <<<"$OUT" || \
grep -q "distribution|.*bian GNU/Linux 9,*" <<<"$OUT" || \
echo -e "You are using an unsupported distro release. Please upgrade to latest Debian/Raspbian"

[[ $DNSMASQ_ON != "yes" ]] && \
Expand Down

0 comments on commit ee370f1

Please sign in to comment.