From 2613896cfdd8c9d9feabcdb5a3358354fef42b93 Mon Sep 17 00:00:00 2001 From: Praveen Arimbrathodiyil Date: Wed, 15 Apr 2015 18:05:25 +0530 Subject: [PATCH] fix for #5862, check for compiled assets --- Changelog.md | 1 + script/server | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Changelog.md b/Changelog.md index 3816769a1..4dcab2208 100644 --- a/Changelog.md +++ b/Changelog.md @@ -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) * 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) +* Fix asset precompilation check in script/server [#5863](https://github.com/diaspora/diaspora/pull/5863) ## Features * Don't pull jQuery from a CDN by default [#5105](https://github.com/diaspora/diaspora/pull/5105) diff --git a/script/server b/script/server index 46b17b90d..d99c33056 100755 --- a/script/server +++ b/script/server @@ -120,7 +120,7 @@ then fi # 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 fatal "You're running in production mode without having assets precompiled. Now and after each update before you restart the