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

remove erlang installation from sources

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

View file

@ -107,16 +107,14 @@ port=$(ynh_find_port 8095)
ynh_app_setting_set $app port $port
#=================================================
# INSTALL ERLANG 1.21.2.6-1
# INSTALL ELIXIR 1.8.1-2
#=================================================
ynh_print_info "Installing erlang 1.21.2.6-1..."
ynh_print_info "Installing elixir 1.8.1-2..."
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,11 +70,10 @@ ynh_print_info "Removing dependencies"
ynh_remove_app_dependencies
#=================================================
# REMOVE ERLANG 1.21.2.6-1
# REMOVE ELIXIR 1.8.1-2
#=================================================
ynh_print_info "Removing erlang 1.21.2.6-1..."
ynh_print_info "Removing elixir 1.8.1-2..."
sudo apt remove -y esl-erlang
sudo apt remove -y elixir
#=================================================