From 11cfc8fe63dd4d435b96472c97a9a70f0fe17aac Mon Sep 17 00:00:00 2001 From: Augustin Trancart Date: Mon, 16 Dec 2019 22:54:35 +0100 Subject: [PATCH] =?UTF-8?q?Attempt=20to=20correct=20warning=20about=20EOF?= =?UTF-8?q?=C2=A0reached?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- scripts/install | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/scripts/install b/scripts/install index e31c088..ad54423 100755 --- a/scripts/install +++ b/scripts/install @@ -236,12 +236,12 @@ systemctl reload nginx ynh_script_progression --message="Create admin..." --time --weight=1 pushd $final_path/diaspora sudo -u diaspora /bin/bash --login << EOF - RAILS_ENV=production bundle exec rails console << END - user = User.build({username: '$admin', email: '$admin_email', password: '$admin_password', password_confirmation: '$admin_password' }) - user.seed_aspects - user.save - Role.add_admin user.person - END +RAILS_ENV=production bundle exec rails console << END +user = User.build({username: '$admin', email: '$admin_email', password: '$admin_password', password_confirmation: '$admin_password' }) +user.seed_aspects +user.save +Role.add_admin user.person +END EOF popd