[Pkg-owncloud-commits] [owncloud] 06/07: Recommend owncloud-apps

David Prévot taffit at moszumanska.debian.org
Sat Aug 22 12:18:27 UTC 2015


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

taffit pushed a commit to branch stable8
in repository owncloud.

commit 59217f02bc75a84b00b46e9d9bda3957798a7da4
Author: David Prévot <taffit at debian.org>
Date:   Wed Aug 19 15:38:59 2015 +0200

    Recommend owncloud-apps
    
    Perform upgrades without disabling apps.
---
 debian/NEWS          | 10 ++++++++++
 debian/README.Debian |  7 +++++++
 debian/control       |  1 +
 debian/postinst      |  2 +-
 4 files changed, 19 insertions(+), 1 deletion(-)

diff --git a/debian/NEWS b/debian/NEWS
index e6088ba..016bdbc 100644
--- a/debian/NEWS
+++ b/debian/NEWS
@@ -1,3 +1,13 @@
+owncloud (8.1.1~dfsg-1) experimental; urgency=medium
+
+  owncloud-apps (now recommended by owncloud), should be installed to
+  ensure smooth upgrades. Some apps have been removed from ownCloud
+  core, while some of them used to enabled by default. They all are
+  recommended by owncloud-apps. If an app is missing, ownCloud will
+  likely show a blank page on the web interface after the upgrade.
+
+ -- David Prévot <taffit at debian.org>  Wed, 19 Aug 2015 16:05:10 +0200
+
 owncloud (5.0.3+dfsg-1) experimental; urgency=low
 
   Upgrade from a previous major revision (4.0) is not supported upstream, and
diff --git a/debian/README.Debian b/debian/README.Debian
index 1bc329d..a4e4d10 100644
--- a/debian/README.Debian
+++ b/debian/README.Debian
@@ -69,6 +69,13 @@ for the configuration.
 Recommended packages
 ~~~~~~~~~~~~~~~~~~~~
 
+Smooth upgrade:			owncloud-apps
+
+[ Some apps have been removed from ownCloud core, some of them were
+  enabled by default. In order to ensure smooth upgrades, they are now
+  available in their own packages, that are all recommended by
+  owncloud-apps. ]
+
 Send mail notification:		exim4 | mail-transport-agent
 
 Some apps, not enabled by default, need the following dependencies:
diff --git a/debian/control b/debian/control
index 898162e..fb024e3 100644
--- a/debian/control
+++ b/debian/control
@@ -51,6 +51,7 @@ Depends: ca-certificates,
          php5-mysql | php5-pgsql | php5-sqlite,
          ${misc:Depends}
 Recommends: exim4 | mail-transport-agent,
+            owncloud-apps (>= 0~8),
             php-aws-sdk (<< 3),
             php-aws-sdk (>= 2.8),
             php-dropbox,
diff --git a/debian/postinst b/debian/postinst
index 0d22245..9fa71d9 100644
--- a/debian/postinst
+++ b/debian/postinst
@@ -20,7 +20,7 @@ if [ "$1" = "configure" ] ; then
 	# 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
-		su -s /bin/sh -c "/usr/sbin/occ upgrade" www-data || true
+		su -s /bin/sh -c "/usr/sbin/occ upgrade --no-app-disable" www-data || true
 	fi
 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