[DRE-commits] [diaspora] 05/07: give diaspora write access to app-assets and public
    Praveen Arimbrathodiyil 
    praveen at moszumanska.debian.org
       
    Wed Jan 25 23:13:14 UTC 2017
    
    
  
This is an automated email from the git hooks/post-receive script.
praveen pushed a commit to branch master
in repository diaspora.
commit 760b3e9ea901133f2ed6b4120e6b146d4d5058c5
Author: Praveen Arimbrathodiyil <praveen at debian.org>
Date:   Thu Jan 26 04:19:07 2017 +0530
    give diaspora write access to app-assets and public
---
 debian/postinst | 1 +
 1 file changed, 1 insertion(+)
diff --git a/debian/postinst b/debian/postinst
index 97539e5..0c79873 100755
--- a/debian/postinst
+++ b/debian/postinst
@@ -73,6 +73,7 @@ case "$1" in
         /usr/lib/diaspora-common/scripts/initdb.sh
  
 	echo "Precompiling assets..."
+	chown -R ${diaspora_user}: ~/app-assets ~/public 
 	su diaspora -s /bin/sh -c 'bundle exec rake tmp:cache:clear assets:precompile'
 
 	echo "Running final rake tasks..."
-- 
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