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:
parent
56557037d2
commit
ba6fea7fc5
2 changed files with 10 additions and 10 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue