1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/onlyoffice_ynh.git synced 2024-09-03 19:56:11 +02:00

add subdir

This commit is contained in:
yalh76 2019-02-27 01:30:47 +01:00
parent e130e97b68
commit e6782be82f
3 changed files with 13 additions and 2 deletions

View file

@ -31,6 +31,16 @@
}, },
"example": "example.com" "example": "example.com"
}, },
{
"name": "path",
"type": "path",
"ask": {
"en": "Choose a path for OnlyOffice",
"fr": "Choisissez un chemin pour OnlyOffice"
},
"example": "/onlyoffice",
"default": "/onlyoffice"
},
{ {
"name": "nextclouddomain", "name": "nextclouddomain",
"type": "string", "type": "string",

View file

@ -26,7 +26,7 @@ ynh_abort_if_errors
#================================================= #=================================================
domain=$YNH_APP_ARG_DOMAIN domain=$YNH_APP_ARG_DOMAIN
path_url="/" path_url=$YNH_APP_ARG_PATH
is_public=$YNH_APP_ARG_IS_PUBLIC is_public=$YNH_APP_ARG_IS_PUBLIC
nextclouddomain=$YNH_APP_ARG_NEXTCLOUDDOMAIN nextclouddomain=$YNH_APP_ARG_NEXTCLOUDDOMAIN

View file

@ -44,6 +44,7 @@ ynh_psql_remove_db $db_name $db_name
ynh_print_info "Removing dependencies" ynh_print_info "Removing dependencies"
# Remove metapackage and its dependencies # Remove metapackage and its dependencies
documentserver-prepare4shutdown.sh
ynh_secure_remove /var/lib/dpkg/info/onlyoffice-documentserver.prerm ynh_secure_remove /var/lib/dpkg/info/onlyoffice-documentserver.prerm
ynh_remove_app_dependencies ynh_remove_app_dependencies