diff --git a/scripts/install b/scripts/install index 731bb14..493f7ac 100644 --- a/scripts/install +++ b/scripts/install @@ -57,6 +57,14 @@ ynh_script_progression --message="Finding an available port..." port=$(ynh_find_port 9000) ynh_app_setting_set --app=$app --key=port --value=$port +#================================================= +# INSTALL DEPENDENCIES +#================================================= +ynh_script_progression --message="Installing dependencies..." --weight=20 + +# Install Nodejs +ynh_exec_warn_less ynh_install_nodejs --nodejs_version=$nodejs_version + #================================================= # INSTALL DEPENDENCIES #================================================= @@ -69,10 +77,10 @@ ynh_exec_warn_less dpkg -i $tempdir/thelounge.deb #================================================= # CREATE DEDICATED USER #================================================= -ynh_script_progression --message="Configuring system user..." +#ynh_script_progression --message="Configuring system user..." # Create a system user -ynh_system_user_create --username=$app --home_dir="$final_path" +#ynh_system_user_create --username=$app --home_dir="$final_path" # #================================================= # # DOWNLOAD, CHECK AND UNPACK SOURCE diff --git a/scripts/remove b/scripts/remove index 9e1a1fc..437632d 100644 --- a/scripts/remove +++ b/scripts/remove @@ -50,6 +50,8 @@ ynh_script_progression --message="Removing dependencies..." # Remove NodeJS dpkg --remove thelounge +ynh_remove_nodejs + #================================================= # REMOVE APP MAIN DIR #=================================================