fix for #5862, check for compiled assets

This commit is contained in:
Praveen Arimbrathodiyil 2015-04-15 18:05:25 +05:30 committed by Jonne Haß
parent a687a8dc01
commit 2613896cfd
2 changed files with 2 additions and 1 deletions

View file

@ -163,6 +163,7 @@ diaspora* no longer adds a `div.container` to wrap custom splash pages. This add
* Fix pagination design on conversations page [#5791](https://github.com/diaspora/diaspora/pull/5791) * Fix pagination design on conversations page [#5791](https://github.com/diaspora/diaspora/pull/5791)
* Prevent inserting posts into the wrong stream [#5838](https://github.com/diaspora/diaspora/pull/5838) * Prevent inserting posts into the wrong stream [#5838](https://github.com/diaspora/diaspora/pull/5838)
* Update help section [#5857](https://github.com/diaspora/diaspora/pull/5857) * Update help section [#5857](https://github.com/diaspora/diaspora/pull/5857)
* Fix asset precompilation check in script/server [#5863](https://github.com/diaspora/diaspora/pull/5863)
## Features ## Features
* Don't pull jQuery from a CDN by default [#5105](https://github.com/diaspora/diaspora/pull/5105) * Don't pull jQuery from a CDN by default [#5105](https://github.com/diaspora/diaspora/pull/5105)

View file

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