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:
parent
49e499f544
commit
b182a8a6fc
1 changed files with 3 additions and 3 deletions
|
@ -72,7 +72,7 @@ ynh_exec_warn_less ynh_install_app_dependencies $pkg_dependencies
|
||||||
# ynh_setup_source --dest_dir=$tempdir --source_id=crystal
|
# ynh_setup_source --dest_dir=$tempdir --source_id=crystal
|
||||||
# ynh_exec_warn_less dpkg -i $tempdir/crystal_1.0.0-1_amd64.deb
|
# ynh_exec_warn_less dpkg -i $tempdir/crystal_1.0.0-1_amd64.deb
|
||||||
|
|
||||||
curl -fsSL https://crystal-lang.org/install.sh | bash -s -- --channel=nightly
|
ynh_exec_warn_less curl -fsSL https://crystal-lang.org/install.sh | bash -s -- --channel=nightly
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# CREATE DEDICATED USER
|
# CREATE DEDICATED USER
|
||||||
|
@ -132,8 +132,8 @@ ynh_add_nginx_config
|
||||||
ynh_script_progression --message="Building Invidious.. (this will take some time and resources!)" --weight=60
|
ynh_script_progression --message="Building Invidious.. (this will take some time and resources!)" --weight=60
|
||||||
|
|
||||||
pushd "$final_path"
|
pushd "$final_path"
|
||||||
shards update && shards install
|
ynh_exec_warn_less shards update && shards install
|
||||||
crystal build $final_path/src/invidious.cr --release
|
ynh_exec_warn_less crystal build $final_path/src/invidious.cr --release
|
||||||
popd
|
popd
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
Loading…
Add table
Reference in a new issue