From ee2bbe45782f52d115115b8cf6198afaeb03be9e Mon Sep 17 00:00:00 2001 From: Lyndon Brown Date: Mon, 9 Mar 2020 23:48:23 +0000 Subject: [PATCH] archives: simplification MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit as suggested by Raphaƫl Gbp-Dch: Short --- scripts/build/chroot_archives | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/scripts/build/chroot_archives b/scripts/build/chroot_archives index 8daa1c19b..8d47a1417 100755 --- a/scripts/build/chroot_archives +++ b/scripts/build/chroot_archives @@ -20,8 +20,7 @@ USAGE="${PROGRAM} {source|binary|chroot} {install|remove} [--force]" _PASS="${1}" shift -if [ "${_PASS}" != "binary" ] && [ "${_PASS}" != "chroot" ] && [ "${_PASS}" != "source" ] -then +if ! In_List "${_PASS}" "binary" "chroot" "source"; then Usage fi