Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/diaspora/diaspora.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xscript/server2
1 files changed, 1 insertions, 1 deletions
diff --git a/script/server b/script/server
index 4652e04b6..faf43111e 100755
--- a/script/server
+++ b/script/server
@@ -117,7 +117,7 @@ then
fi
# Check if assets are precompiled
-if [ "$RAILS_ENV" = "production" -a ! -e "public/assets/default.css" ]
+if [ "$RAILS_ENV" = "production" -a -z "$(find public/assets -maxdepth 1 -name 'default-*.css' -print -quit)" ]
then
fatal "You're running in production mode without having assets
precompiled. Now and after each update before you restart the