diff options
| author | nemsia <nemsia@nemsia.org> | 2017-07-24 01:15:15 +0200 |
|---|---|---|
| committer | nemsia <nemsia@nemsia.org> | 2017-07-24 01:15:15 +0200 |
| commit | 03074519069383688f69ee7f0dc619b067d9917f (patch) | |
| tree | 9de9fb27a293344d15882edefb787005dcb207f5 /scripts/upgrade | |
| parent | 1f948e706af0dc07a1befc26ed0a117af0d3c2b0 (diff) | |
| download | mastodon_ynh-03074519069383688f69ee7f0dc619b067d9917f.tar.gz mastodon_ynh-03074519069383688f69ee7f0dc619b067d9917f.tar.bz2 mastodon_ynh-03074519069383688f69ee7f0dc619b067d9917f.zip | |
Add libicu-dev and libidn11-dev
Diffstat (limited to 'scripts/upgrade')
| -rw-r--r-- | scripts/upgrade | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/upgrade b/scripts/upgrade index dae1d8d..99ae13f 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -65,7 +65,7 @@ if [[ $node_version =~ ^v4.*$ ]]; then fi # add additional package for release 1.4 -ynh_package_install pkg-config libprotobuf-dev protobuf-compiler +ynh_package_install pkg-config libprotobuf-dev protobuf-compiler libicu-dev libidn11-dev # Apply Mastodon upgrade sudo su - $app <<COMMANDS @@ -73,7 +73,7 @@ pushd ~/live bin/bundle install yarn install --pure-lockfile # For 1.4.1 -> 1.4.2 migration prepare_for_foreign_keys is needed -RAILS_ENV=production bundle exec rails mastodon:maintenance:prepare_for_foreign_keys +RAILS_ENV=production bundle exec rails mastodon:maintenance:prepare_for_foreign_keys RAILS_ENV=production bundle exec rails assets:clean RAILS_ENV=production bundle exec rails assets:precompile RAILS_ENV=production bundle exec rails db:migrate |
