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

Adding elixir and erlang

This commit is contained in:
yalh76 2019-02-24 12:55:22 +01:00
parent 56557037d2
commit ba6fea7fc5
2 changed files with 10 additions and 10 deletions

View file

@ -111,15 +111,14 @@ ynh_app_setting_set $app port $port
#=================================================
ynh_print_info "Installing erlang 1.21.2.6-1..."
#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
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
#=================================================
# INSTALL DEPENDENCIES

View file

@ -74,7 +74,8 @@ ynh_remove_app_dependencies
#=================================================
ynh_print_info "Removing erlang 1.21.2.6-1..."
#sudo apt remove -y esl-erlang
sudo apt remove -y esl-erlang
sudo apt remove -y elixir
#=================================================
# REMOVE APP MAIN DIR