1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/collabora_ynh.git synced 2024-09-03 18:16:25 +02:00

Merge pull request #60 from YunoHost-Apps/testing

Testing
This commit is contained in:
Éric Gaspar 2022-05-11 19:43:50 +02:00 committed by GitHub
commit 26205b6a1c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 8 additions and 11 deletions

View file

@ -28,7 +28,7 @@ Collabora Online is a powerful LibreOffice-based online office that supports all
- presentations (odp, pptx, ppt…) - presentations (odp, pptx, ppt…)
**Shipped version:** 21.11.0.6~ynh1 **Shipped version:** 21.11.4.1~ynh1

View file

@ -23,7 +23,7 @@ Collabora Online est une suite bureautique en ligne open source basé sur LibreO
- des tableurs (ods, xlsx, xls…) - des tableurs (ods, xlsx, xls…)
- présentations (odp, pptx, ppt…) - présentations (odp, pptx, ppt…)
**Version incluse :** 21.11.0.6~ynh1 **Version incluse :** 21.11.4.1~ynh1

View file

@ -6,7 +6,7 @@
"en": "LibreOffice-based online office suite with collaborative editing", "en": "LibreOffice-based online office suite with collaborative editing",
"fr": "Suite office en ligne et collaborative, basée sur LibreOffice" "fr": "Suite office en ligne et collaborative, basée sur LibreOffice"
}, },
"version": "21.11.0.6~ynh1", "version": "21.11.4.1~ynh1",
"url": "https://collaboraoffice.com", "url": "https://collaboraoffice.com",
"upstream": { "upstream": {
"license": "MPL-2.0", "license": "MPL-2.0",

View file

@ -30,14 +30,6 @@ app=$YNH_APP_INSTANCE_NAME
domain=$(ynh_app_setting_get --app=$app --key=domain) domain=$(ynh_app_setting_get --app=$app --key=domain)
path_url=$(ynh_app_setting_get --app=$app --key=path) path_url=$(ynh_app_setting_get --app=$app --key=path)
#=================================================
# CHECK IF THE APP CAN BE RESTORED
#=================================================
ynh_script_progression --message="Validating restoration parameters..." --weight=1
ynh_webpath_available --domain=$domain --path_url=$path_url \
|| ynh_die --message="Path not available: ${domain}${path_url}"
#================================================= #=================================================
# STANDARD RESTORATION STEPS # STANDARD RESTORATION STEPS
#================================================= #=================================================

View file

@ -27,6 +27,11 @@ nextcloud_domain=$(ynh_app_setting_get --app="$app" --key=nextcloud_domain)
#================================================= #=================================================
ynh_script_progression --message="Ensuring downward compatibility..." --weight=2 ynh_script_progression --message="Ensuring downward compatibility..." --weight=2
if ynh_compare_current_package_version --comparison le --version 6.4.10~ynh2
then
ynh_die --message="Upgrade from version 6.4.10 is not possible. You must uninstall and reinstall Collabora package manually"
fi
# If db_name doesn't exist, create it # If db_name doesn't exist, create it
if [ -z "$path_url" ]; then if [ -z "$path_url" ]; then
path_url="/" path_url="/"