From 19df233e6f34e9191afd9d2403b9440d2413cded Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Josu=C3=A9=20Tille?= Date: Mon, 14 Aug 2017 18:41:01 +0200 Subject: [PATCH] Enable change URL in package check --- check_process | 1 + scripts/change_url | 3 +++ 2 files changed, 4 insertions(+) diff --git a/check_process b/check_process index 42749b0..fab34a8 100644 --- a/check_process +++ b/check_process @@ -21,6 +21,7 @@ fail_download_source=1 port_already_use=1 (8080) final_path_already_use=1 + change_url=1 ;;; Levels Level 1=auto Level 2=auto diff --git a/scripts/change_url b/scripts/change_url index 8bbfedf..5e28721 100644 --- a/scripts/change_url +++ b/scripts/change_url @@ -3,6 +3,9 @@ # Source YunoHost helpers source /usr/share/yunohost/helpers +# Stop script if errors +ynh_abort_if_errors + # Import common cmd source ./_common.sh