diff options
author | Lyndon Brown <jnqnfe@gmail.com> | 2020-03-09 23:48:23 +0000 |
---|---|---|
committer | Luca Boccassi <bluca@debian.org> | 2020-03-10 12:49:36 +0000 |
commit | ee2bbe45782f52d115115b8cf6198afaeb03be9e (patch) | |
tree | 9280407f52562f14525b5703c96996e9c3fabe87 | |
parent | cf2a9b951cbd4e6bc35ea0d389f39c0ec36db639 (diff) | |
download | vyos-live-build-ee2bbe45782f52d115115b8cf6198afaeb03be9e.tar.gz vyos-live-build-ee2bbe45782f52d115115b8cf6198afaeb03be9e.zip |
archives: simplification
as suggested by Raphaƫl
Gbp-Dch: Short
-rwxr-xr-x | scripts/build/chroot_archives | 3 |
1 files changed, 1 insertions, 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 |