From ce20f3a2c55db0aac755e19515f36c2f52ce7711 Mon Sep 17 00:00:00 2001 From: oufmilo <44617467+oufmilo@users.noreply.github.com> Date: Thu, 21 Dec 2023 23:10:51 +0100 Subject: [PATCH] Fix git lsf install --- scripts/install | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/scripts/install b/scripts/install index 749dce1..81f6094 100755 --- a/scripts/install +++ b/scripts/install @@ -34,17 +34,11 @@ ynh_script_progression --message="Setting up source files..." --weight=3 mkdir -p "$install_dir" chown -R $app:www-data "$install_dir" -git config --system --add safe.directory $install_dir -git lfs install +git lfs install && git lfs pull # Download, check integrity, uncompress and patch the source from GitHub git clone https://iceshrimp.dev/iceshrimp/iceshrimp.git "$install_dir" --quiet -pushd "$install_dir" - git reset --hard --quiet $version_commit - make -popd - chmod -R o-rwx "$install_dir" chown -R $app:www-data "$install_dir"