[DRE-commits] [redmine] 06/15: postinst: give Gemfile.lock to www-data

Antonio Terceiro terceiro at moszumanska.debian.org
Sat May 2 21:00:05 UTC 2015


This is an automated email from the git hooks/post-receive script.

terceiro pushed a commit to branch master
in repository redmine.

commit 4b0a805bcea2e46082198e256a4e45de16bfdb49
Author: Antonio Terceiro <terceiro at debian.org>
Date:   Wed Apr 8 18:04:22 2015 +0200

    postinst: give Gemfile.lock to www-data
---
 debian/postinst | 1 +
 1 file changed, 1 insertion(+)

diff --git a/debian/postinst b/debian/postinst
index b9a4f0f..217b803 100644
--- a/debian/postinst
+++ b/debian/postinst
@@ -12,6 +12,7 @@ RAKE_VERBOSE=false
 
 # update Gemfile.lock, always
 (cd /usr/share/redmine && bundle --local --quiet)
+chown www-data:www-data /var/lib/redmine/Gemfile.lock
 
 # remove and purge old instances each time postinst is called
 db_get redmine/old-instances || true

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/redmine.git



More information about the Pkg-ruby-extras-commits mailing list