From f23d6c6bf9c9d791dee73658860a103e283b59bd Mon Sep 17 00:00:00 2001 From: nachoparker Date: Sun, 27 Oct 2019 18:37:48 -0600 Subject: install: make sure we have lsb-release Signed-off-by: nachoparker --- bin/ncp/CONFIG/nc-init.sh | 2 +- install.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/ncp/CONFIG/nc-init.sh b/bin/ncp/CONFIG/nc-init.sh index d488a680..1b213eef 100644 --- a/bin/ncp/CONFIG/nc-init.sh +++ b/bin/ncp/CONFIG/nc-init.sh @@ -20,7 +20,7 @@ configure() local REDISPASS=$( grep "^requirepass" /etc/redis/redis.conf | cut -d' ' -f2 ) [[ "$REDISPASS" == "" ]] && { echo "redis server without a password. Abort"; return 1; } - ## RE-CREATE DATABASE TABLE + ## RE-CREATE DATABASE TABLE echo "Setting up database..." diff --git a/install.sh b/install.sh index 40600c7c..12bd6311 100644 --- a/install.sh +++ b/install.sh @@ -30,7 +30,7 @@ type mysqld &>/dev/null && echo ">>> WARNING: existing mysqld configuration wil # get install code echo "Getting build code..." apt-get update -apt-get install --no-install-recommends -y wget ca-certificates sudo +apt-get install --no-install-recommends -y wget ca-certificates sudo lsb-release pushd "$TMPDIR" wget -qO- --content-disposition https://github.com/nextcloud/nextcloudpi/archive/"$BRANCH"/latest.tar.gz \ -- cgit v1.2.3