From 9c2d6983d7fcb0f1ccb90b30d5277985e203a492 Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Sat, 2 Oct 2021 19:02:18 +0200 Subject: [PATCH] Fix --- scripts/restore | 4 +--- scripts/upgrade | 4 +--- 2 files changed, 2 insertions(+), 6 deletions(-) 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