1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/invidious_ynh.git synced 2024-09-03 19:15:55 +02:00
This commit is contained in:
ericgaspar 2021-06-01 22:43:48 +02:00
parent efc8dbe9c0
commit e0caca3b92
No known key found for this signature in database
GPG key ID: 574F281483054D44
2 changed files with 8 additions and 1 deletions

View file

@ -0,0 +1,7 @@
SOURCE_URL=https://github.com/iv-org/invidious/archive/4a45d10a8b080209fc9dcefbc84a470694bdb33f.tar.gz
SOURCE_SUM=f01bb15379100dc7d31eaa07149511798a1f2c0966b12747a591f30f50d10219
SOURCE_SUM_PRG=sha256sum
SOURCE_FORMAT=tar.gz
SOURCE_IN_SUBDIR=true
SOURCE_FILENAME=
SOURCE_EXTRACT=true

View file

@ -99,7 +99,7 @@ ynh_script_progression --message="Setting up source files..." --weight=4
ynh_app_setting_set --app=$app --key=final_path --value=$final_path 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 ynh_setup_source --dest_dir="$final_path"
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" ;