mirror of
https://github.com/YunoHost-Apps/onlyoffice_ynh.git
synced 2024-09-03 19:56:11 +02:00
Fix
This commit is contained in:
parent
2d1bbda344
commit
04aac80b4c
2 changed files with 0 additions and 24 deletions
|
@ -32,7 +32,6 @@
|
||||||
{
|
{
|
||||||
"name": "domain",
|
"name": "domain",
|
||||||
"type": "domain",
|
"type": "domain",
|
||||||
"example": "office.yunohost.domain",
|
|
||||||
"help": {
|
"help": {
|
||||||
"en": "You should not install OnlyOffice on your main YunoHost domain, especially if you want to use it with a Nextcloud installed on the same domain.",
|
"en": "You should not install OnlyOffice on your main YunoHost domain, especially if you want to use it with a Nextcloud installed on the same domain.",
|
||||||
"fr": "Évitez d'installer OnlyOffice sur votre domaine YunoHost principal, surtout si vous voulez l'utiliser avec une instance Nextcloud installée sur le même domaine."
|
"fr": "Évitez d'installer OnlyOffice sur votre domaine YunoHost principal, surtout si vous voulez l'utiliser avec une instance Nextcloud installée sur le même domaine."
|
||||||
|
@ -61,15 +60,6 @@
|
||||||
"fr": "Installez le connecteur OnlyOffice pour éditer des documents dans Nextcloud."
|
"fr": "Installez le connecteur OnlyOffice pour éditer des documents dans Nextcloud."
|
||||||
},
|
},
|
||||||
"default": "yunohost.domain/nextcloud"
|
"default": "yunohost.domain/nextcloud"
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "is_public",
|
|
||||||
"type": "boolean",
|
|
||||||
"help": {
|
|
||||||
"en": "You will only be able to connect OnlyOffice to Nextcloud if both apps are public!",
|
|
||||||
"fr": "Nextcloud et OnlyOffice doivent être des applications publiques si vous voulez les connecter !"
|
|
||||||
},
|
|
||||||
"default": true
|
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
|
@ -22,7 +22,6 @@ ynh_abort_if_errors
|
||||||
|
|
||||||
domain=$YNH_APP_ARG_DOMAIN
|
domain=$YNH_APP_ARG_DOMAIN
|
||||||
path_url=$YNH_APP_ARG_PATH
|
path_url=$YNH_APP_ARG_PATH
|
||||||
is_public=$YNH_APP_ARG_IS_PUBLIC
|
|
||||||
nextclouddomain=$YNH_APP_ARG_NEXTCLOUDDOMAIN
|
nextclouddomain=$YNH_APP_ARG_NEXTCLOUDDOMAIN
|
||||||
|
|
||||||
app=$YNH_APP_INSTANCE_NAME
|
app=$YNH_APP_INSTANCE_NAME
|
||||||
|
@ -178,19 +177,6 @@ ynh_script_progression --message="Generating fonts..."
|
||||||
|
|
||||||
/usr/bin/documentserver-generate-allfonts.sh
|
/usr/bin/documentserver-generate-allfonts.sh
|
||||||
|
|
||||||
#=================================================
|
|
||||||
# GENERIC FINALIZATION
|
|
||||||
#=================================================
|
|
||||||
# SETUP SSOWAT
|
|
||||||
#=================================================
|
|
||||||
ynh_script_progression --message="Configuring permissions..."
|
|
||||||
|
|
||||||
# Make app public if necessary
|
|
||||||
if [ $is_public -eq 1 ]
|
|
||||||
then
|
|
||||||
ynh_permission_update --permission="main" --add="visitors"
|
|
||||||
fi
|
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# RELOAD NGINX
|
# RELOAD NGINX
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
Loading…
Add table
Reference in a new issue