From f9705f104377d01f95526de06b55606ee3080393 Mon Sep 17 00:00:00 2001 From: polytan02 Date: Sat, 7 Mar 2015 23:56:05 +0000 Subject: [PATCH] Automatic conf --- scripts/install | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/install b/scripts/install index 9f0b201..f0dfd4b 100644 --- a/scripts/install +++ b/scripts/install @@ -19,7 +19,7 @@ fi db_user=$app #db_pwd=$(dd if=/dev/urandom bs=1 count=200 2> /dev/null | tr -c -d '[A-Za-z0-9]' | sed -n 's/\(.\{24\}\).*/\1/p') -db_pwd=admin_pwd +db_pwd=$admin_pwd # Initialize database and store mysql password for upgrade sudo yunohost app initdb $db_user -p $db_pwd