mirror of
https://github.com/YunoHost-Apps/pleroma_ynh.git
synced 2024-09-03 20:15:59 +02:00
fix yn,h_install_extra_repo
This commit is contained in:
parent
bfe15c02af
commit
746028ad4f
2 changed files with 3 additions and 4 deletions
|
@ -92,9 +92,9 @@ ynh_app_setting_set $app port $port
|
|||
ynh_print_info "Adding Erlang repository..."
|
||||
|
||||
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"
|
||||
ynh_install_extra_repo --repo="deb http://packages.erlang-solutions.com/debian jessie contrib" --key="https://packages.erlang-solutions.com/debian/dists/jessie/Release.gpg"
|
||||
elif [ "$(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"
|
||||
ynh_install_extra_repo --repo="deb http://packages.erlang-solutions.com/debian stretch contrib" --key="https://packages.erlang-solutions.com/debian/dists/stretch/Release.gpg"
|
||||
fi
|
||||
|
||||
#=================================================
|
||||
|
|
|
@ -75,8 +75,7 @@ ynh_remove_app_dependencies
|
|||
#=================================================
|
||||
ynh_print_info "Removing erlang repository..."
|
||||
|
||||
ynh_secure_remove "/etc/apt/sources.list.d/erlang-solutions.list"
|
||||
apt-key del A14F4FCA
|
||||
ynh_remove_extra_repo
|
||||
|
||||
#=================================================
|
||||
# REMOVE APP MAIN DIR
|
||||
|
|
Loading…
Add table
Reference in a new issue