[DRE-commits] [diaspora] 01/04: fix asset check
Praveen Arimbrathodiyil
praveen at moszumanska.debian.org
Mon Apr 27 17:30:58 UTC 2015
This is an automated email from the git hooks/post-receive script.
praveen pushed a commit to branch master
in repository diaspora.
commit e79921309bab1c37c37c50ebf0e80b550d06bec5
Author: Praveen Arimbrathodiyil <praveen at debian.org>
Date: Mon Apr 13 00:01:43 2015 +0530
fix asset check
---
debian/patches/042-fix-asset-check.patch | 13 +++++++++++++
debian/patches/series | 1 +
2 files changed, 14 insertions(+)
diff --git a/debian/patches/042-fix-asset-check.patch b/debian/patches/042-fix-asset-check.patch
new file mode 100644
index 0000000..9c550bf
--- /dev/null
+++ b/debian/patches/042-fix-asset-check.patch
@@ -0,0 +1,13 @@
+Index: diaspora/script/server
+===================================================================
+--- diaspora.orig/script/server
++++ diaspora/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
diff --git a/debian/patches/series b/debian/patches/series
index c71706c..c516400 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -13,3 +13,4 @@
030-loosen-tiny-versions.patch
040-disable-raise_in_transactional_callbacks.patch
041-require-foreigner.patch
+042-fix-asset-check.patch
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/diaspora.git
More information about the Pkg-ruby-extras-commits
mailing list