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

David Prévot taffit at moszumanska.debian.org
Wed Mar 18 00:11:32 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 02e051da9e1df226e1d488c44a334d8ac717afe7
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
---
 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