From 6febf2137fde90b28f5070667777d596d8885d54 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?E=CC=81ric=20Gaspar?= <46165813+ericgaspar@users.noreply.github.com> Date: Sun, 2 Apr 2023 22:02:15 +0200 Subject: [PATCH] add sudirs --- manifest.toml | 2 +- scripts/restore | 2 -- scripts/upgrade | 2 -- 3 files changed, 1 insertion(+), 5 deletions(-) diff --git a/manifest.toml b/manifest.toml index 6e416be..bb8a942 100644 --- a/manifest.toml +++ b/manifest.toml @@ -17,7 +17,7 @@ code = "https://github.com/transmission/transmission" cpe = "cpe:2.3:a:transmissionbt:transmission" [integration] -yunohost = ">= 11.1.15" +yunohost = ">= 11.1.16" architectures = "all" multi_instance = false ldap = false diff --git a/scripts/restore b/scripts/restore index 6ada7ec..9c46675 100644 --- a/scripts/restore +++ b/scripts/restore @@ -17,8 +17,6 @@ ynh_script_progression --message="Restoring the data directory..." ynh_restore_file --origin_path="$data_dir" --not_mandatory -mkdir -p $data_dir/{progress,completed,watched} - chmod -R 764 $data_dir chmod -R 775 $data_dir/watched chown -R debian-transmission:www-data "$data_dir" diff --git a/scripts/upgrade b/scripts/upgrade index 76170d9..db9a185 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -39,8 +39,6 @@ ynh_add_nginx_config #================================================= ynh_script_progression --message="Creating a data directory..." -mkdir -p $data_dir/{progress,completed,watched} - chmod -R 764 $data_dir chmod -R 775 $data_dir/watched chown -R debian-transmission:www-data "$data_dir"