1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/pleroma_ynh.git synced 2024-09-03 20:15:59 +02:00

Add erlang

This commit is contained in:
yalh76 2019-02-24 13:13:07 +01:00
parent 801c0ff00a
commit 1506019a3e
2 changed files with 7 additions and 4 deletions

View file

@ -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

View file

@ -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
#=================================================