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:
ericgaspar 2023-02-17 08:11:34 +01:00
parent 7e1593f9a6
commit 583cf344c8

View file

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