From c56883d027ad8cce434a2edce536264fc547267c Mon Sep 17 00:00:00 2001 From: Alexandre Aubin Date: Mon, 11 Jan 2021 14:15:45 +0100 Subject: [PATCH] Gotta explicitly return 0, otherwise the return code of last command is used, which in that case is 1 ... --- data/helpers.d/apt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/data/helpers.d/apt b/data/helpers.d/apt index 7c6de912d..1998c80f0 100644 --- a/data/helpers.d/apt +++ b/data/helpers.d/apt @@ -550,7 +550,7 @@ ynh_pin_repo () { fi # Sury pinning is managed by the regenconf in the core... - [[ "$name" != "extra_php_version" ]] || return + [[ "$name" != "extra_php_version" ]] || return 0 mkdir --parents "/etc/apt/preferences.d" echo "Package: $package