From 6cc1ef0bf7509b38b3df6404cfa1c3053c0191dc Mon Sep 17 00:00:00 2001 From: Thomas <51749973+Thovi98@users.noreply.github.com> Date: Mon, 29 Apr 2024 14:04:45 +0200 Subject: [PATCH 1/4] fix tests for Bookworm --- manifest.toml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/manifest.toml b/manifest.toml index f34f05d..6c636a8 100644 --- a/manifest.toml +++ b/manifest.toml @@ -44,8 +44,7 @@ ram.runtime = "50M" [install.init_main_permission] type = "group" - default = false - + default = "visitors" [resources] [resources.sources.main] url = "https://download.noalyss.eu/noalyss-package/version-91/noalyss-9107.tar.gz" From b78acf300dc417ef07e4168f2ac457525a043f09 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?E=CC=81ric=20Gaspar?= <46165813+ericgaspar@users.noreply.github.com> Date: Mon, 29 Apr 2024 14:47:08 +0200 Subject: [PATCH 2/4] Update manifest.toml --- manifest.toml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/manifest.toml b/manifest.toml index 6c636a8..f41b2fc 100644 --- a/manifest.toml +++ b/manifest.toml @@ -5,9 +5,9 @@ name = "Noalyss" description.en = "Accounting free software (Belgian and French accounting)" description.fr = "Logiciel libre de comptabilité (comptabilité Belge et Française)" -version = "9.1.0.7~ynh2" +version = "9.1.0.7~ynh3" -maintainers = ["datatierce"] +maintainers = [] [upstream] license = "AGPL-3.0-only" From 71e8bbe4be8f11dc87f82f1f57cd805bf35c64cd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?E=CC=81ric=20Gaspar?= <46165813+ericgaspar@users.noreply.github.com> Date: Mon, 29 Apr 2024 14:48:25 +0200 Subject: [PATCH 3/4] Update manifest.toml --- manifest.toml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/manifest.toml b/manifest.toml index f41b2fc..53b6b65 100644 --- a/manifest.toml +++ b/manifest.toml @@ -5,7 +5,7 @@ name = "Noalyss" description.en = "Accounting free software (Belgian and French accounting)" description.fr = "Logiciel libre de comptabilité (comptabilité Belge et Française)" -version = "9.1.0.7~ynh3" +version = "9.2.0.0~ynh1" maintainers = [] @@ -47,8 +47,8 @@ ram.runtime = "50M" default = "visitors" [resources] [resources.sources.main] - url = "https://download.noalyss.eu/noalyss-package/version-91/noalyss-9107.tar.gz" - sha256 = "566f013e1be63326c1c557128145f5c8b9694c0e66bf66a2015e9f7eeeec2b4c" + url = "https://download.noalyss.eu/noalyss-package/version-92/noalyss-9200.tar.gz" + sha256 = "59c6117ccb7ec0fa5f88ed72c7cd98bbe52f54062c247906006d95c9ec769ef7" [resources.system_user] From c8a07b7e7bcb1131f40a1073617ca59147ea0ba7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?E=CC=81ric=20Gaspar?= <46165813+ericgaspar@users.noreply.github.com> Date: Mon, 29 Apr 2024 14:49:16 +0200 Subject: [PATCH 4/4] Update upgrade --- scripts/upgrade | 16 +++------------- 1 file changed, 3 insertions(+), 13 deletions(-) diff --git a/scripts/upgrade b/scripts/upgrade index 2869067..ac6f292 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -9,23 +9,13 @@ source _common.sh source /usr/share/yunohost/helpers -#================================================= -# CHECK VERSION -#================================================= - -upgrade_type=$(ynh_check_app_version_changed) - #================================================= # DOWNLOAD, CHECK AND UNPACK SOURCE #================================================= +ynh_script_progression --message="Upgrading source files..." --weight=5 -if [ "$upgrade_type" == "UPGRADE_APP" ] -then - ynh_script_progression --message="Upgrading source files..." --weight=5 - - # Download, check integrity, uncompress and patch the source from app.src - ynh_setup_source --dest_dir=$install_dir --keep="include/config.inc.php" -fi +# Download, check integrity, uncompress and patch the source from app.src +ynh_setup_source --dest_dir=$install_dir --keep="include/config.inc.php" chmod -R o-rwx "$install_dir" chown -R $app:www-data "$install_dir"