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 2021-10-03 16:39:58 +02:00
parent 806d39a512
commit 14719bb503
No known key found for this signature in database
GPG key ID: 574F281483054D44

View file

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