diff --git a/scripts/install b/scripts/install index 366ef6e..e1ea2bc 100644 --- a/scripts/install +++ b/scripts/install @@ -66,9 +66,6 @@ ynh_app_setting_set --app=$app --key=port --value=$port #================================================= ynh_script_progression --message="Installing dependencies..." --weight=9 -# Install Crystal -#ynh_install_extra_app_dependencies --repo="deb https://dist.crystal-lang.org/apt crystal main" --package="crystal" --key="https://keybase.io/crystal/pgp_keys.asc" - 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 diff --git a/scripts/upgrade b/scripts/upgrade index c2c5863..5d01812 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -60,10 +60,10 @@ ynh_systemd_action --service_name=$app --action=stop --log_path=systemd #================================================= ynh_script_progression --message="Upgrading dependencies..." --weight=8 -ynh_exec_warn_less ynh_install_app_dependencies $pkg_dependencies +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 -# Install Crystal -ynh_install_extra_app_dependencies --repo="deb https://dist.crystal-lang.org/apt crystal main" --package="crystal" --key="https://keybase.io/crystal/pgp_keys.asc" +ynh_exec_warn_less ynh_install_app_dependencies $pkg_dependencies #================================================= # DOWNLOAD, CHECK AND UNPACK SOURCE