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
50e93ff54c
commit
2b55e5f427
2 changed files with 6 additions and 20 deletions
|
@ -6,7 +6,7 @@
|
|||
"en": "Web IRC client",
|
||||
"fr": "Client Web IRC"
|
||||
},
|
||||
"version": "4.2.0~ynh5",
|
||||
"version": "4.3.0~ynh1",
|
||||
"url": "https://thelounge.chat/",
|
||||
"upstream": {
|
||||
"license": "MIT",
|
||||
|
@ -26,7 +26,7 @@
|
|||
"email": "beudbeud@beudibox.fr"
|
||||
},
|
||||
"requirements": {
|
||||
"yunohost": ">= 4.2.4"
|
||||
"yunohost": ">= 4.3.0"
|
||||
},
|
||||
"multi_instance": false,
|
||||
"services": [
|
||||
|
|
|
@ -77,25 +77,11 @@ ynh_exec_warn_less dpkg -i $tempdir/thelounge.deb
|
|||
#=================================================
|
||||
# CREATE DEDICATED USER
|
||||
#=================================================
|
||||
#ynh_script_progression --message="Configuring system user..."
|
||||
|
||||
# Create a system user
|
||||
#ynh_system_user_create --username=$app --home_dir="$final_path"
|
||||
|
||||
# #=================================================
|
||||
# # DOWNLOAD, CHECK AND UNPACK SOURCE
|
||||
# #=================================================
|
||||
# ynh_script_progression --message="Setting up source files..."
|
||||
|
||||
# ynh_app_setting_set --app=$app --key=final_path --value=$final_path
|
||||
# # Download, check integrity, uncompress and patch the source from app.src
|
||||
# ynh_setup_source --dest_dir=$final_path
|
||||
|
||||
# chmod 750 "$final_path"
|
||||
# chmod -R o-rwx "$final_path"
|
||||
# chown -R $app:www-data "$final_path"
|
||||
|
||||
ynh_exec_as $app thelounge add $admin
|
||||
pushd $final_path
|
||||
ynh_use_nodejs
|
||||
ynh_exec_as $app env "$ynh_node_load_PATH" thelounge add $admin
|
||||
popd
|
||||
|
||||
#=================================================
|
||||
# NGINX CONFIGURATION
|
||||
|
|
Loading…
Add table
Reference in a new issue