From a2984f8adfc07a4dd5f62f2a99b42075a8ecfb31 Mon Sep 17 00:00:00 2001 From: yalh76 Date: Sun, 19 Jun 2022 01:38:03 +0200 Subject: [PATCH] fix files --- scripts/upgrade | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/upgrade b/scripts/upgrade index ac887c1..c31355e 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -119,7 +119,7 @@ if [ -z "$datadir" ]; then datadir=/home/yunohost.app/$app ynh_app_setting_set --app=$app --key=datadir --value=$datadir mkdir -p $datadir - mv -f "$final_path/upload" "$datadir/upload" + mv -f "$final_path/files" "$datadir/upload" chmod 750 "$datadir" chmod -R o-rwx "$datadir" chown -R $app:www-data "$datadir"