From b27b437203e0bcd4e1a4c9a666d6c3dbc5db3ab4 Mon Sep 17 00:00:00 2001 From: plopoyop Date: Fri, 29 Aug 2014 08:09:30 +0200 Subject: [PATCH] Delete not used fake email --- conf/dist_user.conf | 2 +- scripts/install | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/conf/dist_user.conf b/conf/dist_user.conf index a9b3970..4e76155 100644 --- a/conf/dist_user.conf +++ b/conf/dist_user.conf @@ -4,7 +4,7 @@ 'old_entries' => 3, 'keep_history_default' => 0, 'ttl_default' => 3600, - 'mail_login' => 'ynoUserEmail', + 'mail_login' => '', 'token' => '', 'passwordHash' => '', 'apiPasswordHash' => '', diff --git a/scripts/install b/scripts/install index 08f6178..b068e3c 100755 --- a/scripts/install +++ b/scripts/install @@ -61,7 +61,7 @@ do sudo cp ../conf/dist_user.conf $final_path/data/$myuser\_user.php #change email - utilise seulement par persona - non necessaire pour ynh #user_email=$(ldapsearch -h localhost -b uid=$myuser,ou=users,dc=yunohost,dc=org -x objectClass=mailAccount mail | grep mail: | head -n 1| sed 's/mail: //') - sudo sed -i "s/ynoUserEmail/$user_email/g" $final_path/data/$myuser\_user.php + #sudo sed -i "s/ynoUserEmail/$user_email/g" $final_path/data/$myuser\_user.php #change username sudo sed -i "s/YnoUser/$myuser/g" $final_path/data/$myuser\_user.php sudo sed -i "s@sharingArrayYnh@$sharingWallabag@g" $final_path/data/$myuser\_user.php