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
806d39a512
commit
14719bb503
1 changed files with 5 additions and 3 deletions
|
@ -99,9 +99,11 @@ ynh_app_setting_set --app=$app --key=final_path --value=$final_path
|
||||||
# Download, check integrity, uncompress and patch the source from GitHub
|
# Download, check integrity, uncompress and patch the source from GitHub
|
||||||
git clone https://github.com/iv-org/invidious "$final_path" --quiet
|
git clone https://github.com/iv-org/invidious "$final_path" --quiet
|
||||||
|
|
||||||
pushd "$final_path"
|
#git checkout $version_commit
|
||||||
git reset --hard --quiet $version_commit
|
|
||||||
popd
|
# pushd "$final_path"
|
||||||
|
# git reset --hard --quiet $version_commit
|
||||||
|
# popd
|
||||||
|
|
||||||
for i in $final_path/config/sql/*.sql ; do
|
for i in $final_path/config/sql/*.sql ; do
|
||||||
ynh_replace_string --match_string="kemal" --replace_string=$db_user --target_file="$i" ;
|
ynh_replace_string --match_string="kemal" --replace_string=$db_user --target_file="$i" ;
|
||||||
|
|
Loading…
Add table
Reference in a new issue