From 2f94e895846a7660035cccb2321b6aa4192b4566 Mon Sep 17 00:00:00 2001 From: yalh76 Date: Sat, 30 Jul 2022 07:35:38 +0200 Subject: [PATCH] Fix install --- scripts/install | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/install b/scripts/install index 7116498..b03f18c 100644 --- a/scripts/install +++ b/scripts/install @@ -104,8 +104,6 @@ chmod 750 "$final_path" chmod -R o-rwx "$final_path" chown -R $app:www-data "$final_path" -ynh_secure_remove --file="$tmpdir" - #================================================= # PHP-FPM CONFIGURATION #================================================= @@ -145,6 +143,8 @@ cp -Rp $tmpdir/_data/. $final_path/_data cp -Rp $tmpdir/upload/. $final_path/upload cp -Rp $tmpdir/galleries/. $final_path/galleries +ynh_secure_remove --file="$tmpdir" + chmod 750 "$datadir" chmod -R o-rwx "$datadir" chown -R $app:www-data "$datadir"