Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/nextcloudpi.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornachoparker <nacho@ownyourbits.com>2019-07-02 04:15:46 +0300
committernachoparker <nacho@ownyourbits.com>2019-07-06 06:43:54 +0300
commit35526ab9fcfc538b68a10bbf449d6b1fe5ea7d6d (patch)
treebf5f7762937f0fd38bb7463041e25726cc74bd16 /bin/ncp-suggestions
parent88da901eddff125b3e71d9706fbe02edffc659b3 (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-suggestions4
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" && \