From ed736cca4af24d7e1fedca8f0c213f4abb52c81b Mon Sep 17 00:00:00 2001 From: Steve Hay Date: Sun, 11 Sep 2022 22:10:12 -0400 Subject: [PATCH] initial edit to nextcloud scripts --- setup/nextcloud.sh | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/setup/nextcloud.sh b/setup/nextcloud.sh index 37181a83..80b53891 100755 --- a/setup/nextcloud.sh +++ b/setup/nextcloud.sh @@ -21,8 +21,8 @@ echo "Installing Nextcloud (contacts/calendar)..." # we automatically install intermediate versions as needed. # * The hash is the SHA1 hash of the ZIP package, which you can find by just running this script and # copying it from the error message when it doesn't match what is below. -nextcloud_ver=23.0.4 -nextcloud_hash=87afec0bf90b3c66289e6fedd851867bc5a58f01 +nextcloud_ver=24.0.5 +nextcloud_hash=a1ecc0db61584ed5fb6f7cf80a492b2fae17ba26 # Nextcloud apps # -------------- @@ -33,9 +33,9 @@ nextcloud_hash=87afec0bf90b3c66289e6fedd851867bc5a58f01 # https://github.com/nextcloud/user_external/blob/master/appinfo/info.xml # * The hash is the SHA1 hash of the ZIP package, which you can find by just running this script and # copying it from the error message when it doesn't match what is below. -contacts_ver=4.1.0 +contacts_ver=4.2.0 contacts_hash=697f6b4a664e928d72414ea2731cb2c9d1dc3077 -calendar_ver=3.2.2 +calendar_ver=3.5.0 calendar_hash=ce4030ab57f523f33d5396c6a81396d440756f5f user_external_ver=3.0.0 user_external_hash=0df781b261f55bbde73d8c92da3f99397000972f @@ -191,6 +191,10 @@ if [ ! -d /usr/local/lib/owncloud/ ] || [[ ! ${CURRENT_NEXTCLOUD_VER} =~ ^$nextc InstallNextcloud 22.2.6 9d39741f051a8da42ff7df46ceef2653a1dc70d9 4.1.0 697f6b4a664e928d72414ea2731cb2c9d1dc3077 3.2.2 ce4030ab57f523f33d5396c6a81396d440756f5f 3.0.0 0df781b261f55bbde73d8c92da3f99397000972f CURRENT_NEXTCLOUD_VER="22.2.6" fi + if [[ ${CURRENT_NEXTCLOUD_VER} =~ ^22 ]]; then + InstallNextcloud 23.0.4 87afec0bf90b3c66289e6fedd851867bc5a58f01 4.1.0 697f6b4a664e928d72414ea2731cb2c9d1dc3077 3.2.2 ce4030ab57f523f33d5396c6a81396d440756f5f 3.0.0 0df781b261f55bbde73d8c92da3f99397000972f + CURRENT_NEXTCLOUD_VER="22.2.6" + fi fi InstallNextcloud $nextcloud_ver $nextcloud_hash $contacts_ver $contacts_hash $calendar_ver $calendar_hash $user_external_ver $user_external_hash