mirror of
https://github.com/YunoHost-Apps/diaspora_ynh.git
synced 2024-09-03 18:26:13 +02:00
Fix aspect seeding
This commit is contained in:
parent
be2806ee9e
commit
6dfcadf003
1 changed files with 1 additions and 1 deletions
|
@ -189,8 +189,8 @@ pushd $final_path/diaspora
|
|||
sudo -u $app /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
|
||||
user.seed_aspects
|
||||
Role.add_admin user.person
|
||||
END
|
||||
EOF
|
||||
|
|
Loading…
Reference in a new issue