From f66f0519eba1c9d40c1c6fec59315fbcedbce3d9 Mon Sep 17 00:00:00 2001 From: Memo <58190287+memo-567@users.noreply.github.com> Date: Tue, 5 Apr 2022 21:01:34 +0200 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"