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:
parent
5cc7fdea13
commit
828ee1b259
1 changed files with 2 additions and 6 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue