mirror of
https://github.com/YunoHost-Apps/fab-manager_ynh.git
synced 2024-09-03 18:36:16 +02:00
fix install
This commit is contained in:
parent
6d4dbafd40
commit
9e5fc981e5
1 changed files with 1 additions and 1 deletions
|
@ -40,7 +40,7 @@ fabmanager_build_ruby() {
|
|||
|
||||
fabmanager_seed_db() {
|
||||
pushd "$install_dir"
|
||||
ynh_replace_string --match_string="DateTime.current" --replace_string="DateTime.current - 1.days" --target_file="$final_path/db/seeds.rb"
|
||||
ynh_replace_string --match_string="DateTime.current" --replace_string="DateTime.current - 1.days" --target_file="$install_dir/db/seeds.rb"
|
||||
ynh_exec_warn_less ynh_exec_as "$app" env RAILS_ENV=production "$ynh_ruby_load_path" "$ld_preload" \
|
||||
bin/bundle exec rake db:seed ADMIN_EMAIL="$admin_mail" ADMIN_PASSWORD="$password"
|
||||
popd
|
||||
|
|
Loading…
Add table
Reference in a new issue