diff options
author | Louise Crow <louise.crow@gmail.com> | 2012-08-30 17:49:28 +0100 |
---|---|---|
committer | Louise Crow <louise.crow@gmail.com> | 2012-08-30 17:49:28 +0100 |
commit | 74531a783a8ea62a80596b435bd151cec2bf82c8 (patch) | |
tree | f0d27526768e6a50d1fccf17e5a723324441bb13 /script/rails-post-deploy | |
parent | ee723d9e6645bc7987cb2b7cc9cd320950536201 (diff) | |
parent | 62a20d6696275a6f83ca4cf835c487873ca89c99 (diff) |
Merge branch 'release/0.6.5'0.6.5
Diffstat (limited to 'script/rails-post-deploy')
-rwxr-xr-x | script/rails-post-deploy | 28 |
1 files changed, 1 insertions, 27 deletions
diff --git a/script/rails-post-deploy b/script/rails-post-deploy index dd2e61877..977805eb5 100755 --- a/script/rails-post-deploy +++ b/script/rails-post-deploy @@ -82,33 +82,7 @@ fi bundle install $bundle_install_options -function run_post_install { - NAME=`echo $1 | sed -re 's/.*\/(.*)\.git.?/\1/'` - POST_INSTALL="vendor/plugins/$NAME/post_install.rb" - if [ -e $POST_INSTALL ] - then - echo "running post install script at $POST_INSTALL..." - script/runner $POST_INSTALL - fi -} - -if [ -n "$OPTION_THEME_URLS" ] -then - for THEME in "${OPTION_THEME_URLS[@]}" - do - echo "Installing $THEME..." - script/plugin install --force $THEME - run_post_install $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 - run_post_install $OPTION_THEME_URL -fi +bundle exec rake themes:install # upgrade database bundle exec rake db:migrate #--trace |