From 785b8d261f1d9ec7201346d15e690c020abdb65a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=89ric=20Gaspar?= <46165813+ericgaspar@users.noreply.github.com> Date: Thu, 21 Jan 2021 19:13:25 +0100 Subject: [PATCH] Fix linter warnings (#48) --- README.md | 2 +- check_process | 3 --- scripts/backup | 2 +- scripts/upgrade | 7 ------- 4 files changed, 2 insertions(+), 12 deletions(-) diff --git a/README.md b/README.md index 036de97..10d67c6 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ # AgenDAV for YunoHost [![Integration level](https://dash.yunohost.org/integration/agendav.svg)](https://dash.yunohost.org/appci/app/agendav) ![](https://ci-apps.yunohost.org/ci/badges/agendav.status.svg) ![](https://ci-apps.yunohost.org/ci/badges/agendav.maintain.svg) -[![Install AgenDAV with YunoHost](https://install-app.yunohost.org/install-with-yunohost.png)](https://install-app.yunohost.org/?app=agendav) +[![Install AgenDAV with YunoHost](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=agendav) > *This package allow you to install AgenDAV quickly and simply on a YunoHost server. If you don't have YunoHost, please see [here](https://yunohost.org/#/install) to know how to install and enjoy it.* diff --git a/check_process b/check_process index 59d8db0..4867cbf 100644 --- a/check_process +++ b/check_process @@ -19,11 +19,8 @@ upgrade=1 from_commit=1783f57896e46ed8b117f2748340c02d37b2a014 backup_restore=1 multi_instance=0 - incorrect_path=1 port_already_use=0 change_url=1 -;;; Levels - Level 5=auto ;;; Options Email= Notification=none diff --git a/scripts/backup b/scripts/backup index affe443..323928f 100644 --- a/scripts/backup +++ b/scripts/backup @@ -36,7 +36,7 @@ ynh_print_info --message="Declaring files to be backed up..." #================================================= # BACKUP THE APP MAIN DIR #================================================= -ynh_script_progression --message="Backing up AgenDAV directory..." +ynh_print_info --message="Backing up AgenDAV directory..." # Clean cache files before backup ynh_secure_remove --file=${final_path}/web/var/cache/profiler diff --git a/scripts/upgrade b/scripts/upgrade index 697a723..dfe1405 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -92,13 +92,6 @@ ynh_clean_setup () { # Exit if an error occurs during the execution of the script ynh_abort_if_errors -#================================================= -# CHECK THE PATH -#================================================= - -# Normalize the URL path syntax -path_url=$(ynh_normalize_url_path --path_url=$path_url) - #================================================= # STANDARD UPGRADE STEPS #=================================================