[Pkg-owncloud-commits] [owncloud] 03/04: Update disabled appstore patch

David Prévot taffit at moszumanska.debian.org
Wed Apr 23 01:51:29 UTC 2014


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

taffit pushed a commit to branch master
in repository owncloud.

commit 63d904831c41da0913e1f4ee6c4049c297b77a82
Author: David Prévot <taffit at debian.org>
Date:   Tue Apr 22 14:57:34 2014 -0400

    Update disabled appstore patch
---
 debian/patches/0001-Disable-the-appstore.patch | 39 ++++++++++++++++++++------
 1 file changed, 31 insertions(+), 8 deletions(-)

diff --git a/debian/patches/0001-Disable-the-appstore.patch b/debian/patches/0001-Disable-the-appstore.patch
index 95d10d2..ed41061 100644
--- a/debian/patches/0001-Disable-the-appstore.patch
+++ b/debian/patches/0001-Disable-the-appstore.patch
@@ -12,14 +12,15 @@ Forwarded: not-needed
 Reviewed-by: David Prévot <taffit at debian.org>
 Last-Update: 2014-04-22
 ---
- config/config.sample.php   | 11 +++++++----
- lib/base.php               |  2 +-
- lib/private/app.php        |  2 +-
- lib/private/ocsclient.php  |  8 ++++----
- lib/private/setup.php      |  2 ++
- lib/private/util.php       |  2 +-
- settings/ajax/apps/ocs.php |  2 +-
- 7 files changed, 17 insertions(+), 12 deletions(-)
+ config/config.sample.php    | 11 +++++++----
+ lib/base.php                |  2 +-
+ lib/private/app.php         |  2 +-
+ lib/private/ocsclient.php   |  8 ++++----
+ lib/private/setup.php       |  2 ++
+ lib/private/util.php        |  2 +-
+ settings/ajax/apps/ocs.php  |  2 +-
+ settings/templates/apps.php |  4 ++--
+ 8 files changed, 19 insertions(+), 14 deletions(-)
 
 diff --git a/config/config.sample.php b/config/config.sample.php
 index 72b21ff..22cf223 100644
@@ -158,3 +159,25 @@ index b68083f..844a43a 100644
  	OCP\JSON::success(array('type' => 'external', 'data' => array()));
  }
  
+diff --git a/settings/templates/apps.php b/settings/templates/apps.php
+index 4c77c62..4da1dad 100644
+--- a/settings/templates/apps.php
++++ b/settings/templates/apps.php
+@@ -9,7 +9,7 @@
+ 
+ 
+ <ul id="leftcontent" class="applist">
+-	<?php if(OC_Config::getValue('appstoreenabled', true) === true): ?>
++	<?php if(OC_Config::getValue('appstoreenabled', false) === true): ?>
+ 	<li>
+ 		<a class="app-external" target="_blank" href="http://owncloud.org/dev"><?php p($l->t('Add your App'));?> …</a>
+ 	</li>
+@@ -26,7 +26,7 @@
+ 	</li>
+ 	<?php endforeach;?>
+ 
+-	<?php if(OC_Config::getValue('appstoreenabled', true) === true): ?>
++	<?php if(OC_Config::getValue('appstoreenabled', false) === true): ?>
+ 	<li>
+ 		<a class="app-external" target="_blank" href="http://apps.owncloud.com"><?php p($l->t('More Apps'));?> …</a>
+ 	</li>

-- 
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