Merge branch 'release/0.5.10.0' into stable

This commit is contained in:
Jonne Haß 2016-06-26 13:12:22 +02:00
commit 13d841fe2b
No known key found for this signature in database
GPG key ID: F347E0EB47AC70D6

View file

@ -162,7 +162,7 @@ then
fi
# Check if assets are precompiled
if [ "$RAILS_ENV" = "production" -a -z "$(find public/assets -maxdepth 1 -name 'home-*.css' -print -quit 2>/dev/null)" ]
if [ "$RAILS_ENV" = "production" -a -z "$(find public/assets -maxdepth 1 -name 'main-*.js' -print -quit 2>/dev/null)" ]
then
fatal "You're running in production mode without having assets
precompiled. Now and after each update before you restart the