From 4a3d15ef7b4bf2c1924733d399d2042e60f5bc21 Mon Sep 17 00:00:00 2001 From: Daniel Hansson Date: Mon, 6 Aug 2018 09:58:34 +0200 Subject: [PATCH] fix https://github.com/nextcloud/vm/issues/600 --- lib.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib.sh b/lib.sh index 34cd2e0c..b394542b 100644 --- a/lib.sh +++ b/lib.sh @@ -112,7 +112,7 @@ ENVASIVE=/etc/apache2/mods-available/mod-evasive.load APACHE2=/etc/apache2/apache2.conf # Full text Search [ ! -z "$ES_INSTALL" ] && NCADMIN=$(sudo -u www-data php $NCPATH/occ user:list | awk '{print $3}') -[ ! -z "$ES_INSTALL" ] && ROREST=$(tr -dc "a-zA-Z0-9@#*=" < /dev/urandom | fold -w "$SHUF" | head -n 1) +[ ! -z "$ES_INSTALL" ] && ROREST=$(tr -dc "A-Za-z0-9" < /dev/urandom | fold -w "$SHUF" | head -n 1) [ ! -z "$ES_INSTALL" ] && DOCKER_INS=$(dpkg -l | grep ^ii | awk '{print $2}' | grep docker) [ ! -z "$ES_INSTALL" ] && nc_rores6x="ark74/nc_rores6.x:1.6.23_es6.3.2" [ ! -z "$ES_INSTALL" ] && rores6x_name="es6.3.2-rores_1.6.23"