From eecbd894c815420438679b0d36fee72b4291d65a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?E=CC=81ric=20Gaspar?= <46165813+ericgaspar@users.noreply.github.com> Date: Wed, 22 Nov 2023 17:19:54 +0100 Subject: [PATCH] remove nodeJS --- scripts/_common.sh | 3 --- scripts/install | 7 ------- scripts/remove | 2 -- scripts/restore | 7 ------- scripts/upgrade | 7 ------- 5 files changed, 26 deletions(-) diff --git a/scripts/_common.sh b/scripts/_common.sh index abe0f10..944a65e 100644 --- a/scripts/_common.sh +++ b/scripts/_common.sh @@ -4,9 +4,6 @@ # COMMON VARIABLES #================================================= -# dependencies used by the app -nodejs_version=20 - #================================================= # PERSONAL HELPERS #================================================= diff --git a/scripts/install b/scripts/install index aa8dfc4..09ef0b2 100755 --- a/scripts/install +++ b/scripts/install @@ -22,13 +22,6 @@ ynh_script_progression --message="Storing installation settings..." --weight=1 ynh_app_setting_set --app=$app --key=jwt_secret --value=$jwt_secret -#================================================= -# INSTALL DEPENDENCIES -#================================================= -ynh_script_progression --message="Installing dependencies..." --weight=2 - -ynh_install_nodejs --nodejs_version=$nodejs_version - #================================================= # DOWNLOAD, CHECK AND UNPACK SOURCE #================================================= diff --git a/scripts/remove b/scripts/remove index 5276f2b..c04a74d 100755 --- a/scripts/remove +++ b/scripts/remove @@ -31,8 +31,6 @@ ynh_remove_logrotate # Remove the dedicated NGINX config ynh_remove_nginx_config -ynh_remove_nodejs - # Remove the log files ynh_secure_remove --file="/var/log/$app" diff --git a/scripts/restore b/scripts/restore index 7df28be..4915f24 100755 --- a/scripts/restore +++ b/scripts/restore @@ -28,13 +28,6 @@ ynh_script_progression --message="Restoring the MySQL database..." --weight=2 ynh_mysql_connect_as --user=$db_user --password=$db_pwd --database=$db_name < ./db.sql -#================================================= -# REINSTALL DEPENDENCIES -#================================================= -ynh_script_progression --message="Reinstalling dependencies..." --weight=2 - -ynh_install_nodejs --nodejs_version=$nodejs_version - #================================================= # RESTORE THE NGINX CONFIGURATION #================================================= diff --git a/scripts/upgrade b/scripts/upgrade index 92eada0..abe1a4a 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -40,13 +40,6 @@ chmod -R o-rwx "$install_dir" chown -R $app:www-data "$install_dir" chmod +x $install_dir/nocodb -#================================================= -# UPGRADE DEPENDENCIES -#================================================= -ynh_script_progression --message="Upgrading dependencies..." --weight=1 - -ynh_install_nodejs --nodejs_version=$nodejs_version - #================================================= # NGINX CONFIGURATION #=================================================