[DRE-commits] [diaspora] 06/07: give full path for app-assets, 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 6353b87024b4de545c4da729465beb20f3abfe9e
Author: Praveen Arimbrathodiyil <praveen at debian.org>
Date:   Thu Jan 26 04:28:59 2017 +0530

    give full path for app-assets, public
---
 debian/postinst | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/debian/postinst b/debian/postinst
index 0c79873..07e1bc2 100755
--- a/debian/postinst
+++ b/debian/postinst
@@ -73,7 +73,7 @@ case "$1" in
         /usr/lib/diaspora-common/scripts/initdb.sh
  
 	echo "Precompiling assets..."
-	chown -R ${diaspora_user}: ~/app-assets ~/public 
+	chown -R ${diaspora_user}: /var/lib/diaspora/{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