From 29c9e27bc74e0e38e52e95031c4848d782c3a89e Mon Sep 17 00:00:00 2001 From: Tagadda <36127788+Tagadda@users.noreply.github.com> Date: Thu, 18 May 2023 10:04:23 +0000 Subject: [PATCH] v2 --- check_process | 29 ----------------------------- scripts/install | 2 +- tests.toml | 2 +- 3 files changed, 2 insertions(+), 31 deletions(-) delete mode 100644 check_process diff --git a/check_process b/check_process deleted file mode 100644 index 954e403..0000000 --- a/check_process +++ /dev/null @@ -1,29 +0,0 @@ -# See here for more information -# https://github.com/YunoHost/package_check#syntax-check_process-file - -# Move this file from check_process.default to check_process when you have filled it. - -;; Test complet - ; Manifest - domain="domain.tld" - admin="john" - ; Checks - pkg_linter=1 - setup_sub_dir=0 - setup_root=1 - setup_nourl=0 - setup_private=1 - setup_public=1 - upgrade=1 - upgrade=0 from_commit=CommitHash - backup_restore=1 - multi_instance=1 - port_already_use=0 - change_url=1 -;;; Options -Email= -Notification=none -;;; Upgrade options - ; commit=CommitHash - name=Name and date of the commit. - manifest_arg=domain=DOMAIN&path=PATH&is_public=1&language=fr&admin=USER&password=pass&port=666& diff --git a/scripts/install b/scripts/install index 18e60a4..43462c2 100755 --- a/scripts/install +++ b/scripts/install @@ -62,7 +62,7 @@ ynh_script_progression --message="Setting permissions for the data directory..." chmod 750 "$data_dir" chmod -R o-rwx "$data_dir" -chown -R $app:www-data "$data_dir" +chown -R $app:$app "$data_dir" #================================================= # ADD A CONFIGURATION diff --git a/tests.toml b/tests.toml index c11fec3..e2a996c 100644 --- a/tests.toml +++ b/tests.toml @@ -18,10 +18,10 @@ test_format = 1.0 # It should only make sense to declare custom args here for args with no default values args.admin_pw = "acab" + args.init_main_permission = "all_users" # ------------------------------- # Commits to test upgrade from # ------------------------------- test_upgrade_from.8236072.name = "Upgrade from 1.14.5~ynh1 (v1)" -