diff --git a/scripts/backup b/scripts/backup index 1d9fb4f..18e8cc6 100644 --- a/scripts/backup +++ b/scripts/backup @@ -1,6 +1,5 @@ #!/bin/bash - source /usr/share/yunohost/helpers ynh_print_info "Declaring files to be backed up..." diff --git a/scripts/change_url b/scripts/change_url index 072532a..cb7f89a 100644 --- a/scripts/change_url +++ b/scripts/change_url @@ -1,6 +1,5 @@ #!/bin/bash - source /usr/share/yunohost/helpers #================================================= diff --git a/scripts/install b/scripts/install index 05caae9..5f5a1cb 100644 --- a/scripts/install +++ b/scripts/install @@ -1,15 +1,7 @@ #!/bin/bash - source /usr/share/yunohost/helpers -#================================================= -# INSTALL DEPENDENCIES -#================================================= -ynh_script_progression "Installing dependencies..." - -#REMOVEME? ynh_nodejs_install - #================================================= # CREATE A REDIS DATABASE #================================================= diff --git a/scripts/remove b/scripts/remove index 0f67c70..f6416b0 100644 --- a/scripts/remove +++ b/scripts/remove @@ -1,6 +1,5 @@ #!/bin/bash - source /usr/share/yunohost/helpers #================================================= @@ -18,8 +17,6 @@ ynh_redis_remove_db "$redis_db" ynh_config_remove_nginx -#REMOVEME? ynh_nodejs_remove - #================================================= # END OF SCRIPT #================================================= diff --git a/scripts/restore b/scripts/restore index a0761e1..64581cf 100644 --- a/scripts/restore +++ b/scripts/restore @@ -1,6 +1,5 @@ #!/bin/bash - source /usr/share/yunohost/helpers #================================================= @@ -17,8 +16,6 @@ chmod +x "$install_dir/server/bin/prod.js" #================================================= ynh_script_progression "Reinstalling dependencies..." -#REMOVEME? ynh_nodejs_install - ynh_restore "/etc/nginx/conf.d/$domain.d/$app.conf" ynh_restore "/etc/systemd/system/$app.service" diff --git a/scripts/upgrade b/scripts/upgrade index fa2bc69..d706da7 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -1,6 +1,5 @@ #!/bin/bash - source /usr/share/yunohost/helpers #================================================= @@ -26,13 +25,6 @@ ynh_setup_source --dest_dir="$install_dir" --keep="server/config.js" --full_repl chmod +x "$install_dir/server/bin/prod.js" -#================================================= -# UPGRADE DEPENDENCIES -#================================================= -ynh_script_progression "Upgrading dependencies..." - -#REMOVEME? ynh_nodejs_install - #================================================= # NGINX CONFIGURATION #=================================================