mirror of
https://github.com/YunoHost-Apps/invidious_ynh.git
synced 2024-09-03 19:15:55 +02:00
Add src
This commit is contained in:
parent
efc8dbe9c0
commit
e0caca3b92
2 changed files with 8 additions and 1 deletions
|
@ -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
|
|
@ -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
|
||||
|
||||
# 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
|
||||
ynh_replace_string --match_string="kemal" --replace_string=$db_user --target_file="$i" ;
|
||||
|
|
Loading…
Add table
Reference in a new issue