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
path: root/script
diff options
context:
space:
mode:
authorJonne Haß <me@jhass.eu>2016-06-26 14:00:29 +0300
committerJonne Haß <me@jhass.eu>2016-06-26 14:11:43 +0300
commit266ada3f249980ca72f0112acd697b63e08c699f (patch)
tree02ffb042e7ee017870b06bfdd96a1ded96096698 /script
parentf1f7c41eda0e777f2b77bee53bf6cc0affd90aac (diff)
script/server: check for main.js instead of home.css
Diffstat (limited to 'script')
-rwxr-xr-xscript/server2
1 files changed, 1 insertions, 1 deletions
diff --git a/script/server b/script/server
index 466b4ef0f..7b66ba22e 100755
--- a/script/server
+++ b/script/server
@@ -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