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
path: root/etc
diff options
context:
space:
mode:
authornachoparker <nacho@ownyourbits.com>2019-10-06 23:01:15 +0300
committernachoparker <nacho@ownyourbits.com>2019-10-06 23:01:32 +0300
commitcb476b8fbdf2542676194143a7de610c8c0e301f (patch)
treeb2fddab1ed8f216d0d5962300d96d18cea0f1b1c /etc
parentc63cb274e9a831ef0fb54d13575db3b29e84d8cb (diff)
install: tweak check_distro
Signed-off-by: nachoparker <nacho@ownyourbits.com>
Diffstat (limited to 'etc')
-rw-r--r--etc/library.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/etc/library.sh b/etc/library.sh
index 9c53d778..dd9b4b47 100644
--- a/etc/library.sh
+++ b/etc/library.sh
@@ -65,7 +65,7 @@ function configure_app()
20 70 0 $parameters \
3>&1 1>&2 2>&3 )"
res=$?
-
+
case $res in
$DIALOG_CANCEL)
break
@@ -273,7 +273,7 @@ function is_more_recent_than()
function check_distro()
{
local cfg="${1:-$NCPCFG}"
- local supported=$(jq -r .release < "$cfg")
+ local supported=$(jq -r .release "$cfg")
grep -q "$supported" <(lsb_release -sc) && return 0
return 1
}