From 5da873fef3a804e698680ca5ee593dc770e7acaf Mon Sep 17 00:00:00 2001 From: yalh76 Date: Mon, 25 Mar 2019 12:33:52 +0100 Subject: [PATCH] fix repo --- scripts/install | 3 +-- scripts/restore | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/scripts/install b/scripts/install index fdf9e68..b591fbd 100755 --- a/scripts/install +++ b/scripts/install @@ -93,8 +93,7 @@ ynh_print_info "Adding Erlang repository..." if [ "$(lsb_release --codename --short)" == "jessie" ]; then echo "deb http://packages.erlang-solutions.com/debian jessie contrib" | tee /etc/apt/sources.list.d/erlang-solutions.list -elif - [ "$(lsb_release --codename --short)" == "stretch" ]; then +elif [ "$(lsb_release --codename --short)" == "stretch" ]; then echo "deb http://packages.erlang-solutions.com/debian stretch contrib" | tee /etc/apt/sources.list.d/erlang-solutions.list fi sudo wget https://packages.erlang-solutions.com/debian/erlang_solutions.asc diff --git a/scripts/restore b/scripts/restore index 5d09d7f..c9bb64d 100755 --- a/scripts/restore +++ b/scripts/restore @@ -90,8 +90,7 @@ ynh_print_info "Adding Erlang repository..." if [ "$(lsb_release --codename --short)" == "jessie" ]; then echo "deb http://packages.erlang-solutions.com/debian jessie contrib" | tee /etc/apt/sources.list.d/erlang-solutions.list -elif - [ "$(lsb_release --codename --short)" == "stretch" ]; then +elif [ "$(lsb_release --codename --short)" == "stretch" ]; then echo "deb http://packages.erlang-solutions.com/debian stretch contrib" | tee /etc/apt/sources.list.d/erlang-solutions.list fi sudo wget https://packages.erlang-solutions.com/debian/erlang_solutions.asc