From 2c65a9e23d86cf5e32232ec24ac2fd72cb7df333 Mon Sep 17 00:00:00 2001 From: anmol26s Date: Tue, 12 Jun 2018 20:30:57 +0530 Subject: [PATCH] Updated yarn to v1.7.0 --- scripts/install | 7 ++++--- scripts/restore | 8 +++++--- scripts/upgrade | 6 +++--- 3 files changed, 12 insertions(+), 9 deletions(-) diff --git a/scripts/install b/scripts/install index bd592f5..c05d617 100644 --- a/scripts/install +++ b/scripts/install @@ -91,9 +91,10 @@ mkdir -p "$datadir" ynh_install_nodejs 8 # install yarn -wget -nv https://github.com/yarnpkg/yarn/releases/download/v1.6.0/yarn_1.6.0_all.deb -echo "96866d835da94a1f01a616f3d637c9100e826f65cb38a65e5d96ccf01ff6d692 yarn_1.6.0_all.deb" | sha256sum -c || ynh_die -dpkg -i yarn_1.6.0_all.deb +wget -nv https://github.com/yarnpkg/yarn/releases/download/v1.7.0/yarn_1.7.0_all.deb +echo "5fecee8378905bbd0c09f9f49d81d427576e3ebdfe9e71ac47eb6c5c5fe35825 yarn_1.7.0_all.deb" | sha256sum -c || ynh_die +dpkg -i yarn_1.7.0_all.deb + # add backports for Debian Jessie (required to install ffmpeg) if [ "$(lsb_release --codename --short)" == "jessie" ]; then diff --git a/scripts/restore b/scripts/restore index 5deaca9..8928ca3 100644 --- a/scripts/restore +++ b/scripts/restore @@ -94,9 +94,11 @@ chown -R "$app":"$app" "$datadir" # install nodejs ynh_install_nodejs 8 -wget -nv https://github.com/yarnpkg/yarn/releases/download/v1.6.0/yarn_1.6.0_all.deb -echo "96866d835da94a1f01a616f3d637c9100e826f65cb38a65e5d96ccf01ff6d692 yarn_1.6.0_all.deb" | sha256sum -c || ynh_die -dpkg -i yarn_1.6.0_all.deb +# install yarn +wget -nv https://github.com/yarnpkg/yarn/releases/download/v1.7.0/yarn_1.7.0_all.deb +echo "5fecee8378905bbd0c09f9f49d81d427576e3ebdfe9e71ac47eb6c5c5fe35825 yarn_1.7.0_all.deb" | sha256sum -c || ynh_die +dpkg -i yarn_1.7.0_all.deb + # add backports for Debian Jessie (required to install ffmpeg) if [ "$(lsb_release --codename --short)" == "jessie" ]; then diff --git a/scripts/upgrade b/scripts/upgrade index 42b7517..a3cdd1c 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -88,9 +88,9 @@ ynh_system_user_create "$app" ynh_install_nodejs 8 # install yarn -wget -nv https://github.com/yarnpkg/yarn/releases/download/v1.6.0/yarn_1.6.0_all.deb -echo "96866d835da94a1f01a616f3d637c9100e826f65cb38a65e5d96ccf01ff6d692 yarn_1.6.0_all.deb" | sha256sum -c || ynh_die -dpkg -i yarn_1.6.0_all.deb +wget -nv https://github.com/yarnpkg/yarn/releases/download/v1.7.0/yarn_1.7.0_all.deb +echo "5fecee8378905bbd0c09f9f49d81d427576e3ebdfe9e71ac47eb6c5c5fe35825 yarn_1.7.0_all.deb" | sha256sum -c || ynh_die +dpkg -i yarn_1.7.0_all.deb # add backports for Debian Jessie (required to install ffmpeg) if [ "$(lsb_release --codename --short)" == "jessie" ]; then