aboutsummaryrefslogtreecommitdiff
path: root/scripts/upgrade
diff options
context:
space:
mode:
authoryalh76 <yalh@yahoo.com>2019-03-27 22:24:36 +0100
committeryalh76 <yalh@yahoo.com>2019-03-27 22:24:36 +0100
commit0efc6dc766b4cc86fecf00f0e1b6a2ddab5dea5b (patch)
tree0f2b4444a12c018956bc2fa1018ae9913e9cdd30 /scripts/upgrade
parent9749ea5afa46b1a390f2cd09162c695417c2863d (diff)
downloadmastodon_ynh-0efc6dc766b4cc86fecf00f0e1b6a2ddab5dea5b.tar.gz
mastodon_ynh-0efc6dc766b4cc86fecf00f0e1b6a2ddab5dea5b.tar.bz2
mastodon_ynh-0efc6dc766b4cc86fecf00f0e1b6a2ddab5dea5b.zip
Fix ynh_install_extra_repo
Diffstat (limited to 'scripts/upgrade')
-rw-r--r--scripts/upgrade5
1 files changed, 2 insertions, 3 deletions
diff --git a/scripts/upgrade b/scripts/upgrade
index fbd532f..266eae8 100644
--- a/scripts/upgrade
+++ b/scripts/upgrade
@@ -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