install: make sure we have lsb-release

Signed-off-by: nachoparker <nacho@ownyourbits.com>
This commit is contained in:
nachoparker 2019-10-27 18:37:48 -06:00
parent cb476b8fbd
commit f23d6c6bf9
2 changed files with 2 additions and 2 deletions

View File

@ -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..."

View File

@ -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 \