archives: simplification

as suggested by Raphaël

Gbp-Dch: Short
This commit is contained in:
Lyndon Brown 2020-03-09 23:48:23 +00:00 committed by Luca Boccassi
parent cf2a9b951c
commit ee2bbe4578
1 changed files with 1 additions and 2 deletions

View File

@ -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