aboutsummaryrefslogtreecommitdiff
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
parent9749ea5afa46b1a390f2cd09162c695417c2863d (diff)
downloadmastodon_ynh-0efc6dc766b4cc86fecf00f0e1b6a2ddab5dea5b.tar.gz
mastodon_ynh-0efc6dc766b4cc86fecf00f0e1b6a2ddab5dea5b.tar.bz2
mastodon_ynh-0efc6dc766b4cc86fecf00f0e1b6a2ddab5dea5b.zip
Fix ynh_install_extra_repo
-rw-r--r--scripts/restore5
-rw-r--r--scripts/upgrade5
2 files changed, 4 insertions, 6 deletions
diff --git a/scripts/restore b/scripts/restore
index 62675c7..bfe6fbb 100644
--- a/scripts/restore
+++ b/scripts/restore
@@ -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
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