diff options
| author | yalh76 <yalh@yahoo.com> | 2019-03-22 23:59:16 +0100 |
|---|---|---|
| committer | yalh76 <yalh@yahoo.com> | 2019-03-22 23:59:16 +0100 |
| commit | dddaefcd63215f3416e387dcc2cf94b89c73d682 (patch) | |
| tree | f24af8095b598b50d66dea93d9617fc5348f1d5a /scripts/install | |
| parent | 5cd0ad6b49991cf45a74b4a6c9db3e3bb5e4ebb4 (diff) | |
| download | mastodon_ynh-dddaefcd63215f3416e387dcc2cf94b89c73d682.tar.gz mastodon_ynh-dddaefcd63215f3416e387dcc2cf94b89c73d682.tar.bz2 mastodon_ynh-dddaefcd63215f3416e387dcc2cf94b89c73d682.zip | |
adding ynh_add_secure_repos__2
Diffstat (limited to 'scripts/install')
| -rw-r--r-- | scripts/install | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/scripts/install b/scripts/install index e57dbab..bf52357 100644 --- a/scripts/install +++ b/scripts/install @@ -92,12 +92,11 @@ if [[ "$arch" = arm* ]]; then apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 7638D0442B90D010 fi -# Install source.list debian package backports & yarn +# Install extra_repo debian package backports & yarn if [ "$(lsb_release --codename --short)" == "jessie" ]; then - echo "deb http://httpredir.debian.org/debian jessie-backports main" | tee /etc/apt/sources.list.d/jessie-backports.list + ynh_install_extra_repo --repo="deb http://httpredir.debian.org/debian jessie-backports main" fi -curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | apt-key add - -echo "deb https://dl.yarnpkg.com/debian/ stable main" | tee /etc/apt/sources.list.d/yarn.list +ynh_install_extra_repo --repo="deb https://dl.yarnpkg.com/debian/ stable main" --key="https://dl.yarnpkg.com/debian/pubkey.gpg" ynh_package_update # install nodejs |
