mirror of
https://github.com/YunoHost-Apps/pleroma_ynh.git
synced 2024-09-03 20:15:59 +02:00
Update install
This commit is contained in:
parent
fcdce749e4
commit
0475bdd25e
1 changed files with 5 additions and 2 deletions
|
@ -92,11 +92,14 @@ ynh_app_setting_set $app port $port
|
||||||
ynh_print_info "Adding Erlang repository..."
|
ynh_print_info "Adding Erlang repository..."
|
||||||
|
|
||||||
if [ "$(lsb_release --codename --short)" == "jessie" ]; then
|
if [ "$(lsb_release --codename --short)" == "jessie" ]; then
|
||||||
ynh_install_extra_repo --repo="deb http://packages.erlang-solutions.com/debian jessie contrib" --key=https://packages.erlang-solutions.com/debian/erlang_solutions.asc
|
echo "deb http://packages.erlang-solutions.com/debian jessie contrib" | tee /etc/apt/sources.list.d/erlang-solutions.list
|
||||||
elif
|
elif
|
||||||
[ "$(lsb_release --codename --short)" == "stretch" ]; then
|
[ "$(lsb_release --codename --short)" == "stretch" ]; then
|
||||||
ynh_install_extra_repo --repo="deb http://packages.erlang-solutions.com/debian stretch contrib" --key=https://packages.erlang-solutions.com/debian/erlang_solutions.asc
|
echo "deb http://packages.erlang-solutions.com/debian stretch contrib" | tee /etc/apt/sources.list.d/erlang-solutions.list
|
||||||
fi
|
fi
|
||||||
|
sudo wget https://packages.erlang-solutions.com/debian/erlang_solutions.asc
|
||||||
|
sudo apt-key add erlang_solutions.asc
|
||||||
|
sudo rm erlang_solutions.asc
|
||||||
apt update
|
apt update
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
Loading…
Add table
Reference in a new issue