[Pkg-owncloud-commits] [owncloud] 02/03: TODO: HACK define always_populate_raw_post_data=-1

David Prévot taffit at moszumanska.debian.org
Fri Mar 27 22:14:43 UTC 2015


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

taffit pushed a commit to branch wip/stable8
in repository owncloud.

commit c60bc10a3e927f2e7749f5fba1dc74ea3715b77f
Author: David Prévot <taffit at debian.org>
Date:   Wed Feb 25 17:30:41 2015 -0400

    TODO: HACK define always_populate_raw_post_data=-1
    
    It is supposed to become the default in an upcoming PHP update.
---
 debian/postinst | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/debian/postinst b/debian/postinst
index a554ebd..3f0f03e 100644
--- a/debian/postinst
+++ b/debian/postinst
@@ -51,7 +51,7 @@ case "$1" in
 	# Update the database on upgrade
 	# Don’t let it fail, since it exits with 3 if no upgrade is necessary
 	if [ -e /etc/owncloud/config.php ] ; then
-		sudo -u www-data occ upgrade || true
+		sudo -u www-data php --define always_populate_raw_post_data=-1 /usr/sbin/occ upgrade || true
 	fi
     ;;
 

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



More information about the Pkg-owncloud-commits mailing list