Removed password
This commit is contained in:
parent
6c9890095f
commit
579eed2609
|
@ -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"
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue