mirror of
https://github.com/YunoHost-Apps/diaspora_ynh.git
synced 2024-09-03 18:26:13 +02:00
Attempt to correct warning about EOF reached
This commit is contained in:
parent
9fad7b255e
commit
11cfc8fe63
1 changed files with 6 additions and 6 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue