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

Update install

This commit is contained in:
Éric Gaspar 2023-02-14 20:33:14 +01:00
parent 5cc7fdea13
commit 828ee1b259

View file

@ -111,14 +111,10 @@ mkdir -p "$final_path"
chown -R $app:www-data "$final_path"
# Download, check integrity, uncompress and patch the source from GitHub
#ynh_exec_as $app
git clone https://github.com/iv-org/invidious "$final_path" --quiet
#ynh_exec_as $app
git config --global --add safe.directory
ynh_exec_as $app git clone https://github.com/iv-org/invidious "$final_path" --quiet
pushd "$final_path"
git reset --hard --quiet $version_commit
ynh_exec_as $app git reset --hard --quiet $version_commit
popd
for i in $final_path/config/sql/*.sql ; do