aboutsummaryrefslogtreecommitdiffstats
path: root/script
diff options
context:
space:
mode:
Diffstat (limited to 'script')
-rwxr-xr-xscript/rails-post-deploy4
1 files changed, 4 insertions, 0 deletions
diff --git a/script/rails-post-deploy b/script/rails-post-deploy
index 1fe56212c..437b7255a 100755
--- a/script/rails-post-deploy
+++ b/script/rails-post-deploy
@@ -44,6 +44,10 @@ else
fi
mkdir -p log
fi
+# link the "downloads" directory in the cache to somewhere it can be served
+mkdir -p $APP_DIR/cache/zips/download
+ln -s $APP_DIR/cache/zips/download $APP_DIR/public/
+
cd log
touch development.log fastcgi.crash.log production.log test.log
cd ..