diff --git a/scripts/install b/scripts/install index 0a06b7b..6c214d7 100755 --- a/scripts/install +++ b/scripts/install @@ -107,14 +107,16 @@ port=$(ynh_find_port 8095) ynh_app_setting_set $app port $port #================================================= -# INSTALL ELIXIR 1.8.1-2 +# INSTALL ERLANG and ELIXIR #================================================= -ynh_print_info "Installing elixir 1.8.1-2..." +ynh_print_info "Installing erlang and elixir ..." if [ "$(lsb_release --codename --short)" == "jessie" ]; then + sudo apt install -y ../sources/esl-erlang_21.2.6-1~debian~jessie_amd64.deb sudo apt install -y ../sources/elixir_1.8.1-2~debian~jessie_amd64.deb elif [ "$(lsb_release --codename --short)" == "stretch" ]; then + sudo apt install -y ../sources/esl-erlang_21.2.6-1~debian~stretch_amd64.deb sudo apt install -y ../sources/elixir_1.8.1-2~debian~stretch_amd64.deb fi diff --git a/scripts/remove b/scripts/remove index 4b6b1be..c4f0ffb 100755 --- a/scripts/remove +++ b/scripts/remove @@ -70,10 +70,11 @@ ynh_print_info "Removing dependencies" ynh_remove_app_dependencies #================================================= -# REMOVE ELIXIR 1.8.1-2 +# REMOVE ERLANG AND ELIXIR #================================================= -ynh_print_info "Removing elixir 1.8.1-2..." +ynh_print_info "Removing erlang and elixir..." +sudo apt remove -y esl-erlang sudo apt remove -y elixir #=================================================