diff options
author | Robin Houston <robin.houston@gmail.com> | 2012-09-07 12:51:42 +0100 |
---|---|---|
committer | Robin Houston <robin.houston@gmail.com> | 2012-09-07 12:51:42 +0100 |
commit | c690679f5e55d908a0f91b0d9b3276ae3f748b2d (patch) | |
tree | cbe46b2e859aa6f59d39a110d997274091004a24 /script/rails-post-deploy | |
parent | 67a3a43cc26f8ad7218f33a13af04c3c74347866 (diff) | |
parent | dd39dbc580b1447758a6d3b9231ce09c9b3dcdf3 (diff) |
Merge branch 'wdtk' of git.mysociety.org:/data/git/public/alaveteli into wdtk
Diffstat (limited to 'script/rails-post-deploy')
-rwxr-xr-x | script/rails-post-deploy | 22 |
1 files changed, 1 insertions, 21 deletions
diff --git a/script/rails-post-deploy b/script/rails-post-deploy index 6100bb1d0..977805eb5 100755 --- a/script/rails-post-deploy +++ b/script/rails-post-deploy @@ -82,27 +82,7 @@ fi bundle install $bundle_install_options -if [ -n "$OPTION_THEME_URLS" ] -then - for THEME in "${OPTION_THEME_URLS[@]}" - do - echo "Installing $THEME..." - script/plugin install --force $THEME - done -fi - -# Old version of the above, for backwards compatibility -if [ -n "$OPTION_THEME_URL" ] -then - echo "Installing $OPTION_THEME_URL using deprecated THEME_URL..." - script/plugin install --force $OPTION_THEME_URL - NAME=`sed -re 's/.*\/(.*)\.git.?/\1/'` - POST_INSTALL="vendor/plugins/$NAME/post_install.rb" - if [ -e $POST_INSTALL ] - then - script/runner $POST_INSTALL - fi -fi +bundle exec rake themes:install # upgrade database bundle exec rake db:migrate #--trace |