diff options
author | nachoparker <nacho@ownyourbits.com> | 2019-07-02 04:15:46 +0300 |
---|---|---|
committer | nachoparker <nacho@ownyourbits.com> | 2019-07-06 06:43:54 +0300 |
commit | 35526ab9fcfc538b68a10bbf449d6b1fe5ea7d6d (patch) | |
tree | bf5f7762937f0fd38bb7463041e25726cc74bd16 /bin/ncp-suggestions | |
parent | 88da901eddff125b3e71d9706fbe02edffc659b3 (diff) |
build: use a system wide config file. Remove sury sources
Signed-off-by: nachoparker <nacho@ownyourbits.com>
Diffstat (limited to 'bin/ncp-suggestions')
-rw-r--r-- | bin/ncp-suggestions | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/ncp-suggestions b/bin/ncp-suggestions index 5f20bd85..39f2ceda 100644 --- a/bin/ncp-suggestions +++ b/bin/ncp-suggestions @@ -16,8 +16,8 @@ OUT="$@" source /usr/local/etc/library.sh -grep -q "distribution|.*bian GNU/Linux 9,*" <<<"$OUT" || \ - echo -e "You are using an unsupported distro release. Please upgrade to latest Debian/Raspbian" +check_distro || \ + echo -e "You are using an outdated distro release. You should upgrade to latest Debian/Raspbian" is_active_app dnsmasq && \ grep -q "NAT loopback|no" <<<"$OUT" && \ |