diff --git a/conf/app.src b/conf/app.src index e69de29..d9a0565 100644 --- a/conf/app.src +++ b/conf/app.src @@ -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 diff --git a/scripts/install b/scripts/install index eead517..2901451 100644 --- a/scripts/install +++ b/scripts/install @@ -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" ;