diff --git a/README.md b/README.md index 5a829a3..3d88a5c 100644 --- a/README.md +++ b/README.md @@ -17,7 +17,7 @@ If you don't have YunoHost, please consult [the guide](https://yunohost.org/#/in Online storage, file sharing platform and various other applications -**Shipped version:** 24.0.7~ynh1 +**Shipped version:** 25.0.2~ynh1 **Demo:** https://demo.nextcloud.com/ diff --git a/README_fr.md b/README_fr.md index 0b931b9..6ed96f2 100644 --- a/README_fr.md +++ b/README_fr.md @@ -17,7 +17,7 @@ Si vous n'avez pas YunoHost, regardez [ici](https://yunohost.org/#/install) pour Stockage en ligne, plateforme de partage de fichiers et diverses autres applications -**Version incluse :** 24.0.7~ynh1 +**Version incluse :** 25.0.2~ynh1 **Démo :** https://demo.nextcloud.com/ diff --git a/manifest.json b/manifest.json index 6ffd70f..09a85d6 100644 --- a/manifest.json +++ b/manifest.json @@ -6,7 +6,7 @@ "en": "Online storage, file sharing platform and various other applications", "fr": "Stockage en ligne, plateforme de partage de fichiers et diverses autres applications" }, - "version": "24.0.7~ynh1", + "version": "25.0.2~ynh1", "url": "https://nextcloud.com", "upstream": { "license": "AGPL-3.0", diff --git a/scripts/install b/scripts/install index e4c33e7..7a7be8e 100755 --- a/scripts/install +++ b/scripts/install @@ -40,6 +40,12 @@ test ! -e "$final_path" || ynh_die --message="This path already contains a folde # Register (book) web path ynh_webpath_register --app=$app --domain=$domain --path_url=$path_url +# Check machine architecture (Seens 25.0 Nextcloud doesn't support 32bit machines) +if [ $YNH_ARCH == "i386" ] || [ $YNH_ARCH == "armhf" ] +then + ynh_die --message="Sorry, Nextcloud has deprecated 32-bit support" +fi + #================================================= # STORE SETTINGS FROM MANIFEST #================================================= diff --git a/scripts/upgrade b/scripts/upgrade index cdd42ea..b83261d 100755 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -34,6 +34,12 @@ fpm_usage=$(ynh_app_setting_get --app=$app --key=fpm_usage) upgrade_type=$(ynh_check_app_version_changed) +# Check machine architecture (Seens 25.0 Nextcloud doesn't support 32bit machines) +if [ $YNH_ARCH == "i386" ] || [ $YNH_ARCH == "armhf" ] +then + ynh_die --message="Sorry, Nextcloud has deprecated 32-bit support" +fi + #================================================= # ENSURE DOWNWARD COMPATIBILITY #================================================= diff --git a/scripts/upgrade.d/upgrade.24.sh b/scripts/upgrade.d/upgrade.24.sh new file mode 100644 index 0000000..658c57d --- /dev/null +++ b/scripts/upgrade.d/upgrade.24.sh @@ -0,0 +1,7 @@ +#!/bin/bash + +# Last available Nextcloud version +next_version="25.0.0" + +# Nextcloud tarball checksum sha256 +nextcloud_source_sha256="2c05ac9d7b72b44ef8b3d2ae03ff0fd6121e254b8054556f5163bd8760dd8f49" diff --git a/scripts/upgrade.d/upgrade.last.sh b/scripts/upgrade.d/upgrade.last.sh old mode 100755 new mode 100644 index b6cec97..2c5bafd --- a/scripts/upgrade.d/upgrade.last.sh +++ b/scripts/upgrade.d/upgrade.last.sh @@ -1,7 +1,7 @@ #!/bin/bash # Last available Nextcloud version -next_version="24.0.7" +next_version="25.0.2" # Nextcloud tarball checksum sha256 -nextcloud_source_sha256="a1c7344a4eb27260a9f6f6e6f586bdc4fb35e1e9330e1a6e8d46c05634db6384" +nextcloud_source_sha256="d6ab40faa108937bda42395f570ff111f4c97343b55be1420024da3177e37d59"