mirror of
https://github.com/YunoHost-Apps/thelounge_ynh.git
synced 2024-09-03 20:35:54 +02:00
Fix
This commit is contained in:
parent
487360f1aa
commit
50e93ff54c
2 changed files with 12 additions and 2 deletions
|
@ -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
|
||||
|
|
|
@ -50,6 +50,8 @@ ynh_script_progression --message="Removing dependencies..."
|
|||
# Remove NodeJS
|
||||
dpkg --remove thelounge
|
||||
|
||||
ynh_remove_nodejs
|
||||
|
||||
#=================================================
|
||||
# REMOVE APP MAIN DIR
|
||||
#=================================================
|
||||
|
|
Loading…
Add table
Reference in a new issue