1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/iceshrimp_ynh.git synced 2024-09-03 19:15:54 +02:00

Fix git lsf install

This commit is contained in:
oufmilo 2023-12-21 23:10:51 +01:00
parent 086e613864
commit ce20f3a2c5

View file

@ -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"