diff options
author | David Cabo <david@calibea.com> | 2011-10-13 00:29:51 +0200 |
---|---|---|
committer | David Cabo <david@calibea.com> | 2011-10-13 00:29:51 +0200 |
commit | c8983b923e4dc7db9ba22156daaddd94d2b5ed4d (patch) | |
tree | 7741c3655fe5e3cbc90dd20a4626ac7acc1bf6b0 /script/rails-post-deploy | |
parent | a29b3aaf0ae77af49d38813b62dddcb6889c1ebe (diff) | |
parent | e13127a8ebc8bf8379d92f778af5a2bb6931d80c (diff) |
Merge branch 'release/0.4'0.4
Diffstat (limited to 'script/rails-post-deploy')
-rwxr-xr-x | script/rails-post-deploy | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/script/rails-post-deploy b/script/rails-post-deploy index 1fe56212c..df9f67528 100755 --- a/script/rails-post-deploy +++ b/script/rails-post-deploy @@ -44,6 +44,13 @@ else fi mkdir -p log fi +# link the "downloads" directory in the cache to somewhere it can be served +if [ ! -e $APP_DIR/public/download ] +then + mkdir -p $APP_DIR/cache/zips/download + ln -s $APP_DIR/cache/zips/download $APP_DIR/public/ +fi + cd log touch development.log fastcgi.crash.log production.log test.log cd .. |