From 1825768b1b7c0d30b7f179dcc6d3688826138ddb Mon Sep 17 00:00:00 2001 From: Quiwy Date: Thu, 30 Dec 2021 18:55:36 +0100 Subject: [PATCH] Update install --- scripts/install | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/scripts/install b/scripts/install index 9443d67..310451b 100755 --- a/scripts/install +++ b/scripts/install @@ -27,7 +27,6 @@ is_public=$YNH_APP_ARG_IS_PUBLIC random_key=$(ynh_string_random --length=32) email=$(ynh_user_get_info --username=$admin --key=mail) phpversion=$YNH_PHP_VERSION -tag=$(ynh_app_upstream_version) app=$YNH_APP_INSTANCE_NAME @@ -93,7 +92,7 @@ ynh_script_progression --message="Cloning Firefly-iii..." ynh_app_setting_set --app=$app --key=final_path --value=$final_path -git clone --quiet -b $tag --depth 1 https://github.com/firefly-iii/firefly-iii.git $final_path +ynh_setup_source --dest_dir=$final_path chmod 750 "$final_path" chmod -R o-rwx "$final_path"