aboutsummaryrefslogtreecommitdiff
path: root/scripts/install
diff options
context:
space:
mode:
authoryalh76 <yalh@yahoo.com>2019-03-27 21:20:14 +0100
committeryalh76 <yalh@yahoo.com>2019-03-27 21:20:14 +0100
commit08485fd7d3348256a11b39371217cca24cee6323 (patch)
tree6cee7e965b63b37e497de6e5dd75e776f2ce6279 /scripts/install
parent2f69ed9251d83bf670244a5828dea04d89d058ca (diff)
downloadmastodon_ynh-08485fd7d3348256a11b39371217cca24cee6323.tar.gz
mastodon_ynh-08485fd7d3348256a11b39371217cca24cee6323.tar.bz2
mastodon_ynh-08485fd7d3348256a11b39371217cca24cee6323.zip
Fix armored key
Diffstat (limited to 'scripts/install')
-rw-r--r--scripts/install10
1 files changed, 7 insertions, 3 deletions
diff --git a/scripts/install b/scripts/install
index 4b197d2..e68ac0a 100644
--- a/scripts/install
+++ b/scripts/install
@@ -15,6 +15,11 @@ source ynh_add_secure_repos__2
# MANAGE SCRIPT FAILURE
#=================================================
+ynh_clean_setup () {
+ ### Remove this function if there's nothing to clean before calling the remove script.
+ read -p "Press any key..."
+ true
+}
# Exit if an error occurs during the execution of the script
ynh_abort_if_errors
@@ -89,10 +94,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