diff --git a/scripts/restore b/scripts/restore index b8136da..bc93a3b 100644 --- a/scripts/restore +++ b/scripts/restore @@ -79,9 +79,7 @@ ynh_script_progression --message="Reinstalling dependencies..." --weight=7 # Define and install dependencies ynh_exec_warn_less ynh_install_app_dependencies $pkg_dependencies -tempdir="$(mktemp -d)" -ynh_setup_source --dest_dir=$tempdir --source_id=crystal -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 #================================================= # RESTORE THE POSTGRESQL DATABASE diff --git a/scripts/upgrade b/scripts/upgrade index 5f1df24..a0eeb1c 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -122,9 +122,7 @@ ynh_script_progression --message="Upgrading dependencies..." --weight=8 ynh_exec_warn_less ynh_install_app_dependencies $pkg_dependencies -tempdir="$(mktemp -d)" -ynh_setup_source --dest_dir=$tempdir --source_id=crystal -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 #================================================= # MODIFY A CONFIG FILE