mirror of
https://github.com/YunoHost-Apps/invidious_ynh.git
synced 2024-09-03 19:15:55 +02:00
Fix
This commit is contained in:
parent
55c8c15cdc
commit
7f5bca565f
3 changed files with 6 additions and 4 deletions
0
conf/app.src
Normal file
0
conf/app.src
Normal file
|
@ -5,7 +5,7 @@
|
|||
#=================================================
|
||||
|
||||
# dependencies used by the app
|
||||
pkg_dependencies="crystal apt-transport-https libssl-dev libxml2-dev libyaml-dev libgmp-dev libreadline-dev postgresql librsvg2-bin libsqlite3-dev zlib1g-dev"
|
||||
pkg_dependencies="apt-transport-https libssl-dev libxml2-dev libyaml-dev libgmp-dev libreadline-dev postgresql librsvg2-bin libsqlite3-dev zlib1g-dev" #crystal
|
||||
|
||||
#=================================================
|
||||
# PERSONAL HELPERS
|
||||
|
|
|
@ -66,8 +66,10 @@ ynh_app_setting_set --app=$app --key=port --value=$port
|
|||
#=================================================
|
||||
ynh_script_progression --message="Installing dependencies..." --weight=9
|
||||
|
||||
ynh_exec_warn_less apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 379CE192D401AB61
|
||||
ynh_install_extra_repo --repo="deb https://dl.bintray.com/crystal/deb all stable" --append
|
||||
# ynh_exec_warn_less apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 379CE192D401AB61
|
||||
# ynh_install_extra_repo --repo="deb https://dl.bintray.com/crystal/deb all stable" --append
|
||||
|
||||
curl -fsSL https://crystal-lang.org/install.sh | bash -s -- --crystal=0.35
|
||||
|
||||
ynh_exec_warn_less ynh_install_app_dependencies $pkg_dependencies
|
||||
|
||||
|
@ -122,7 +124,7 @@ ynh_script_progression --message="Building Invidious.. (this will take some time
|
|||
|
||||
pushd "$final_path" || ynh_die
|
||||
shards update && shards install
|
||||
crystal build $final_path/src/invidious.cr --release --ignore-crystal-version
|
||||
crystal build $final_path/src/invidious.cr --release
|
||||
popd || ynh_die
|
||||
|
||||
#=================================================
|
||||
|
|
Loading…
Add table
Reference in a new issue