diff --git a/README.md b/README.md index 8678f9e..26bf399 100644 --- a/README.md +++ b/README.md @@ -5,7 +5,7 @@ Nextcloud for YunoHost own data. A personal cloud which run on your own server. With Nextcloud you can synchronize your files over your devices. -**Shipped version:** 12.0.3 +**Shipped version:** 12.0.4 [![Install Nextcloud with YunoHost](https://install-app.yunohost.org/install-with-yunohost.png)](https://install-app.yunohost.org/?app=nextcloud) ![](https://github.com/nextcloud/screenshots/blob/master/files/filelist.png) diff --git a/manifest.json b/manifest.json index 59d803a..ba96c7e 100644 --- a/manifest.json +++ b/manifest.json @@ -6,9 +6,9 @@ "en": "Access & share your files, calendars, contacts, mail & more from any device, on your terms", "fr": "Consultez et partagez vos fichiers, agendas, carnets d'adresses, emails et bien plus depuis les appareils de votre choix, sous vos conditions" }, - "version": "12.0.3", + "version": "12.0.4-1", "url": "https://nextcloud.com", - "license": "AGPL-3", + "license": "AGPL-3.0", "maintainer": { "name": "-", "email": "-" diff --git a/scripts/backup b/scripts/backup index de9fd26..aecf0c0 100755 --- a/scripts/backup +++ b/scripts/backup @@ -3,11 +3,6 @@ #================================================= # GENERIC START #================================================= -# MANAGE SCRIPT FAILURE -#================================================= - -# Exit on command errors and treat access to unset variables as an error -set -eu #================================================= # IMPORT GENERIC HELPERS @@ -21,6 +16,13 @@ fi source _common.sh source /usr/share/yunohost/helpers +#================================================= +# MANAGE SCRIPT FAILURE +#================================================= + +# Exit if an error occurs during the execution of the script +ynh_abort_if_errors + #================================================= # LOAD SETTINGS #================================================= @@ -82,5 +84,5 @@ if [ -z $backup_core_only ] then ynh_backup "/home/yunohost.app/${app}/data" else - echo "Data dir will not saved, because backup_core_only is set." >&2 + echo "Data dir will not be saved, because backup_core_only is set." >&2 fi diff --git a/scripts/restore b/scripts/restore index 71b0a30..b476d80 100755 --- a/scripts/restore +++ b/scripts/restore @@ -3,11 +3,6 @@ #================================================= # GENERIC START #================================================= -# MANAGE SCRIPT FAILURE -#================================================= - -# Exit on command errors and treat access to unset variables as an error -set -eu #================================================= # IMPORT GENERIC HELPERS @@ -21,6 +16,13 @@ fi source _common.sh source /usr/share/yunohost/helpers +#================================================= +# MANAGE SCRIPT FAILURE +#================================================= + +# Exit if an error occurs during the execution of the script +ynh_abort_if_errors + #================================================= # LOAD SETTINGS #================================================= diff --git a/scripts/upgrade.d/upgrade.last.sh b/scripts/upgrade.d/upgrade.last.sh index 3e659ce..42df94c 100755 --- 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="12.0.3" +next_version="12.0.4" # Nextcloud tarball checksum sha256 -nextcloud_source_sha256="88bcaccba886d0e5a145b15fe216d652ab68a0a4c089a102f1fa1e78e6ddfb71" \ No newline at end of file +nextcloud_source_sha256="654161a74ceaf9a60c7731d7d6702e6710a972633a97955d16f01abeb09d09b6" \ No newline at end of file