From 579eed26099438678e61960ad727e554ecdbeec8 Mon Sep 17 00:00:00 2001 From: anmol26s Date: Mon, 1 Oct 2018 10:37:08 +0530 Subject: [PATCH] Removed password --- scripts/restore | 7 ------- scripts/upgrade | 9 --------- 2 files changed, 16 deletions(-) diff --git a/scripts/restore b/scripts/restore index a3ea65c..5ad4961 100644 --- a/scripts/restore +++ b/scripts/restore @@ -85,8 +85,6 @@ chown -R "$app":"$app" "/home/yunohost.app/${app}/storage" # REINSTALL DEPENDENCIES #================================================= -# install nodejs -ynh_install_nodejs 8 # add backports for Debian Jessie (required to install ffmpeg) if [ "$(lsb_release --codename --short)" == "jessie" ]; then @@ -128,11 +126,6 @@ ynh_restore_file "/etc/logrotate.d/$app" # RESTORE THE LOGROTATE CONFIGURATION #================================================= -( - cd "$final_path" - yarn install --production --pure-lockfile --silent --cache-folder /var/cache/yarn/ -) - # Set right permissions chown -R "$app":"$app" "$final_path" diff --git a/scripts/upgrade b/scripts/upgrade index c34a175..bfd1bfe 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -91,8 +91,6 @@ ynh_system_user_create "$app" # INSTALL DEPENDENCIES #================================================= -# install nodejs -ynh_install_nodejs 8 # add backports for Debian Jessie (required to install ffmpeg) if [ "$(lsb_release --codename --short)" == "jessie" ]; then @@ -128,13 +126,6 @@ cp -a "$tmpdir/local-production.json" "$final_path/config/local-production.json # Remove the tmp directory securely ynh_secure_remove "$tmpdir" -( - cd "$final_path" - yarn global add yarn-upgrade-all - yarn-upgrade-all - yarn install --production --pure-lockfile -) - #================================================= # NGINX CONFIGURATION