1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/thelounge_ynh.git synced 2024-09-03 20:35:54 +02:00
This commit is contained in:
ericgaspar 2021-08-30 09:49:22 +02:00
parent 0ff71c6de6
commit 2327f13e66
No known key found for this signature in database
GPG key ID: 574F281483054D44
3 changed files with 0 additions and 9 deletions

View file

@ -2,7 +2,6 @@
; Manifest
domain="domain.tld"
path="/path"
admin="john"
is_public=1
password="password"
; Checks

View file

@ -47,11 +47,6 @@
"example": "/irc",
"default": "/irc"
},
{
"name": "admin",
"type": "user",
"example": "johndoe"
},
{
"name": "is_public",
"type": "boolean",

View file

@ -26,7 +26,6 @@ ynh_abort_if_errors
domain=$YNH_APP_ARG_DOMAIN
path_url=$YNH_APP_ARG_PATH
is_public=$YNH_APP_ARG_IS_PUBLIC
admin=$YNH_APP_ARG_ADMIN
app=$YNH_APP_INSTANCE_NAME
@ -50,7 +49,6 @@ ynh_script_progression --message="Storing installation settings..."
ynh_app_setting_set --app=$app --key=domain --value=$domain
ynh_app_setting_set --app=$app --key=path --value=$path_url
ynh_app_setting_set --app=$app --key=config_path --value=$config_path
ynh_app_setting_set --app=$app --key=admin --value=$admin
#=================================================
# STANDARD MODIFICATIONS
@ -144,7 +142,6 @@ pushd $final_path
yarn add webpack webpack-dev-server --dev
ynh_exec_warn_less ynh_exec_as $app NODE_ENV=production yarn build
ynh_exec_warn_less ynh_exec_as $app yarn link
ynh_exec_as $app thelounge add $admin
popd
#=================================================