pkgmeek: honor --extract-only even if an up-to-date package is present

This commit is contained in:
John McQuah 2023-02-18 21:34:37 -05:00
parent 95c2d2a6d6
commit bebb570999

View File

@ -124,7 +124,7 @@ case $? in
esac; }
[ "$PKGMK_CHECK_SIG" = "no" ] || { cleanup_work; exit 0; } # no need to continue if the user only requested -cs
if [ "$pkg_utd" = 0 ] || [ "$PKGMK_FORCE" = "yes" ]; then
if [ "$pkg_utd" = 0 ] || [[ "$PKGMK_FORCE $PKGMK_EXTRACT_ONLY" =~ yes ]]; then
if [ "$(type -t unpack_source)" = "function" ]; then
SRC=$PWD/src unpack_source || errUZ+=1
else