diff options
author | nachoparker <nacho@ownyourbits.com> | 2019-10-28 03:37:48 +0300 |
---|---|---|
committer | nachoparker <nacho@ownyourbits.com> | 2019-10-28 03:37:48 +0300 |
commit | f23d6c6bf9c9d791dee73658860a103e283b59bd (patch) | |
tree | 797f9b6515780d309ca0caa4c68c3644ca0f9c9c | |
parent | cb476b8fbdf2542676194143a7de610c8c0e301f (diff) |
install: make sure we have lsb-release
Signed-off-by: nachoparker <nacho@ownyourbits.com>
-rw-r--r-- | bin/ncp/CONFIG/nc-init.sh | 2 | ||||
-rw-r--r-- | 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..." @@ -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 \ |