aboutsummaryrefslogtreecommitdiff
path: root/scripts/upgrade
diff options
context:
space:
mode:
authoryalh76 <yalh@yahoo.com>2021-03-06 02:15:48 +0100
committeryalh76 <yalh@yahoo.com>2021-03-06 02:15:48 +0100
commit560506c3e74bc7a2f7923b537d27c2b66079ce47 (patch)
treecffe012a8d8107959ed54c64c36ff24ea6d5e562 /scripts/upgrade
parent05e04a31490bb0ce04b0ad2d0d9133c83614650d (diff)
downloadmastodon_ynh-560506c3e74bc7a2f7923b537d27c2b66079ce47.tar.gz
mastodon_ynh-560506c3e74bc7a2f7923b537d27c2b66079ce47.tar.bz2
mastodon_ynh-560506c3e74bc7a2f7923b537d27c2b66079ce47.zip
fix bin/tootctl
Diffstat (limited to 'scripts/upgrade')
-rw-r--r--scripts/upgrade2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/upgrade b/scripts/upgrade
index 27aaff0..2e8753b 100644
--- a/scripts/upgrade
+++ b/scripts/upgrade
@@ -251,7 +251,7 @@ pushd "$final_path/live"
sudo -u $app RAILS_ENV=production $ynh_ruby_load_path $ruby_path/bundle exec rails assets:clean
sudo -u $app RAILS_ENV=production $ynh_ruby_load_path $ruby_path/bundle exec rails assets:precompile
sudo -u $app RAILS_ENV=production $ynh_ruby_load_path $ruby_path/bundle exec rails db:migrate
- sudo -u $app RAILS_ENV=production $ynh_ruby_load_path $ruby_path/tootctl cache clear
+ sudo -u $app RAILS_ENV=production $ynh_ruby_load_path bin/tootctl cache clear
popd
#=================================================