From 1bd3a725ca072adf604e4c96b285098f4eb7120d Mon Sep 17 00:00:00 2001 From: Joshua Tauberer Date: Wed, 12 Aug 2015 19:05:46 +0000 Subject: [PATCH] use the right version of the ownCloud apps Contacts and Calendar are now versioned separately from ownCloud core. Contacts appears to be in a v0.4.x.x series. This is the hash of v0.4.0.0. Per https://github.com/owncloud/calendar/issues/892, Calendar is in a 0.7.x series. This is the hash for 0.7.2. --- setup/owncloud.sh | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/setup/owncloud.sh b/setup/owncloud.sh index 0a04f864..e5892186 100755 --- a/setup/owncloud.sh +++ b/setup/owncloud.sh @@ -17,7 +17,6 @@ apt-get purge -qq -y owncloud* # Install ownCloud from source of this version: owncloud_ver=8.1.1 owncloud_hash=34077e78575a3e689825a00964ee37fbf83fbdda -owncloud_apps_ver=8.1.0 # Migrate <= v0.10 setups that stored the ownCloud config.php in /usr/local rather than # in STORAGE_ROOT. Move the file to STORAGE_ROOT. @@ -52,8 +51,8 @@ if [ ! -d /usr/local/lib/owncloud/ ] \ # The two apps we actually want are not in ownCloud core. Clone them from # their github repositories. mkdir -p /usr/local/lib/owncloud/apps - git_clone https://github.com/owncloud/contacts v$owncloud_apps_ver '' /usr/local/lib/owncloud/apps/contacts - git_clone https://github.com/owncloud/calendar v$owncloud_apps_ver '' /usr/local/lib/owncloud/apps/calendar + git_clone https://github.com/owncloud/contacts 4ff855e7c2075309041bead09fbb9eb7df678244 '' /usr/local/lib/owncloud/apps/contacts + git_clone https://github.com/owncloud/calendar ec53139b144c0f842c33813305612e8006c42ea5 '' /usr/local/lib/owncloud/apps/calendar # Fix weird permissions. chmod 750 /usr/local/lib/owncloud/{apps,config}