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

Fix restore script for erlang and elixir

This commit is contained in:
yalh76 2019-02-24 17:41:40 +01:00
parent 8cb35d698d
commit 3135783df6

View file

@ -95,12 +95,12 @@ chown -R "$app":"$app" "$final_path"
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
sudo apt install -y ../settings/sources/esl-erlang_21.2.6-1~debian~jessie_amd64.deb
sudo apt install -y ../settings/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
sudo apt install -y ../settings/sources/esl-erlang_21.2.6-1~debian~stretch_amd64.deb
sudo apt install -y ../settings/sources/elixir_1.8.1-2~debian~stretch_amd64.deb
fi
#=================================================