mirror of
https://github.com/YunoHost-Apps/glitchsoc_ynh.git
synced 2024-09-03 19:15:59 +02:00
Fix ynh_install_extra_repo
This commit is contained in:
parent
9749ea5afa
commit
0efc6dc766
2 changed files with 4 additions and 6 deletions
|
@ -89,10 +89,9 @@ fi
|
|||
|
||||
# Install extra_repo debian package backports & yarn
|
||||
if [ "$(lsb_release --codename --short)" == "jessie" ]; then
|
||||
ynh_install_extra_repo --repo="deb http://httpredir.debian.org/debian jessie-backports main"
|
||||
ynh_install_extra_repo --repo="deb http://httpredir.debian.org/debian jessie-backports main" --append
|
||||
fi
|
||||
ynh_install_extra_repo --repo="deb https://dl.yarnpkg.com/debian/ stable main" --key=https://dl.yarnpkg.com/debian/pubkey.gpg
|
||||
ynh_package_update
|
||||
ynh_install_extra_repo --repo="deb https://dl.yarnpkg.com/debian/ stable main" --key="https://dl.yarnpkg.com/debian/pubkey.gpg" --append
|
||||
|
||||
# install nodejs
|
||||
ynh_install_nodejs 8
|
||||
|
|
|
@ -161,10 +161,9 @@ ynh_print_info "Upgrading dependencies..."
|
|||
|
||||
# Install extra_repo debian package backports & yarn
|
||||
if [ "$(lsb_release --codename --short)" == "jessie" ]; then
|
||||
ynh_install_extra_repo --repo="deb http://httpredir.debian.org/debian jessie-backports main"
|
||||
ynh_install_extra_repo --repo="deb http://httpredir.debian.org/debian jessie-backports main" --append
|
||||
fi
|
||||
ynh_install_extra_repo --repo="deb https://dl.yarnpkg.com/debian/ stable main" --key=https://dl.yarnpkg.com/debian/pubkey.gpg
|
||||
ynh_package_update
|
||||
ynh_install_extra_repo --repo="deb https://dl.yarnpkg.com/debian/ stable main" --key="https://dl.yarnpkg.com/debian/pubkey.gpg" --append
|
||||
|
||||
# Install nodejs
|
||||
ynh_install_nodejs 8
|
||||
|
|
Loading…
Reference in a new issue