1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/invidious_ynh.git synced 2024-09-03 19:15:55 +02:00

Bugfix #77 by replace "shards" command (#79)

* Bugfix #77 by "shards install" with "--production"

See: https://github.com/iv-org/invidious/issues/2918#issuecomment-1048146335
This commit is contained in:
Jens Diemer 2022-02-25 19:27:51 +01:00 committed by GitHub
parent 9def032982
commit 52fd06ccfb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View file

@ -135,7 +135,7 @@ ynh_add_nginx_config
ynh_script_progression --message="Building Invidious.. (this will take some time and resources!)" --weight=60
pushd "$final_path"
ynh_exec_warn_less shards update && shards install
ynh_exec_warn_less shards install --production
ynh_exec_warn_less crystal build $final_path/src/invidious.cr --release
popd

View file

@ -115,7 +115,7 @@ then
#git checkout master
git reset --hard --quiet $version_commit
git pull
ynh_exec_warn_less shards update && shards install
ynh_exec_warn_less shards install --production
ynh_exec_warn_less crystal build $final_path/src/invidious.cr --release
popd
fi