From 4acf69cd82d98febd729e117a86489a9f4439b50 Mon Sep 17 00:00:00 2001 From: Selamanse Date: Tue, 5 Sep 2017 20:28:27 +0200 Subject: [PATCH] Fix linter problems Occuring in linter 8c70d51c6b939c80117ce55cec4d2d7fd9a00a3b --- manifest.json | 2 +- scripts/backup | 1 + scripts/upgrade | 5 +++-- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/manifest.json b/manifest.json index 06d64e2..d5d4126 100644 --- a/manifest.json +++ b/manifest.json @@ -6,7 +6,7 @@ "en": "the ultimate chat platform" }, "url": "https://github.com/realitygaps/rocketchat_ynh", - "license": "GNU GPLv3", + "license": "GPL-3.0", "version": "0.58.2", "maintainer": { "name": "selamanse", diff --git a/scripts/backup b/scripts/backup index 3532ea9..952fe0e 100644 --- a/scripts/backup +++ b/scripts/backup @@ -6,6 +6,7 @@ set -eu #================================================= source /usr/share/yunohost/helpers +ynh_abort_if_errors #================================================= # LOAD SETTINGS diff --git a/scripts/upgrade b/scripts/upgrade index 989c3b1..56c2668 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -7,9 +7,10 @@ set -eu # IMPORT GENERIC HELPERS #================================================= -source /usr/share/yunohost/helpers -# Source common variables and helpers source ./_common.sh +source /usr/share/yunohost/helpers + +ynh_abort_if_errors app=$YNH_APP_INSTANCE_NAME final_path=$(ynh_app_setting_get $app final_path)