From d064a8edfbc6ab680a0512df3550c4d092bd2077 Mon Sep 17 00:00:00 2001 From: src386 Date: Fri, 21 Aug 2015 17:53:11 +0200 Subject: [PATCH] change random generation --- scripts/install | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/install b/scripts/install index d14ee00..641a7dc 100644 --- a/scripts/install +++ b/scripts/install @@ -38,7 +38,7 @@ sudo yunohost app setting movim public_site -v $public_site sudo yunohost app setting movim port -v $port # Generate random password -db_pwd=$(dd if=/dev/urandom bs=1 count=200 2> /dev/null | tr -c -d '[[:alnum:]]' | sed -n 's/\(.\{24\}\).*/\1/p') +db_pwd=$(dd if=/dev/urandom bs=1 count=200 2> /dev/null | tr -c -d '[[:alnum:]]') # Use 'movim' as database name and user db_user=movim