From 4157ad8af89b1f34257edc06adcfcc07809b10da Mon Sep 17 00:00:00 2001 From: yalh76 Date: Tue, 5 Jul 2022 00:29:00 +0200 Subject: [PATCH] simplification --- scripts/install | 4 ++-- scripts/restore | 2 +- scripts/upgrade | 11 +++-------- 3 files changed, 6 insertions(+), 11 deletions(-) diff --git a/scripts/install b/scripts/install index fbdf40a..84b09dd 100644 --- a/scripts/install +++ b/scripts/install @@ -90,7 +90,7 @@ fi #================================================= ynh_script_progression --message="Creating a data directory..." -datadir=/home/yunohost.app/$app +datadir=/home/yunohost.transmission ynh_app_setting_set --app=$app --key=datadir --value=$datadir mkdir -p $datadir/{progress,completed,watched} @@ -166,7 +166,7 @@ ynh_replace_string "