From 7fa294b66c78b9a9000d161f3b4bacbad158489b Mon Sep 17 00:00:00 2001 From: Mike Gilbert Date: Wed, 22 May 2024 11:35:07 -0400 Subject: unpack: skip unrecognized file formats *silently* See PMS section 12.3.15. Signed-off-by: Mike Gilbert --- bin/phase-helpers.sh | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/bin/phase-helpers.sh b/bin/phase-helpers.sh index 45a1639c4..77132eb06 100644 --- a/bin/phase-helpers.sh +++ b/bin/phase-helpers.sh @@ -446,8 +446,6 @@ unpack() { echo "${my_output}" >&2 die "${myfail}" fi - else - __vecho "unpack ${x}: file format not recognized. Ignoring." fi ;; rar) @@ -459,8 +457,6 @@ unpack() { fi if ___eapi_unpack_supports_rar; then unrar x -idq -o+ "${srcdir}${x}" || die "${myfail}" - else - __vecho "unpack ${x}: file format not recognized. Ignoring." fi ;; lha|lzh) @@ -473,8 +469,6 @@ unpack() { fi if ___eapi_unpack_supports_lha; then lha xfq "${srcdir}${x}" || die "${myfail}" - else - __vecho "unpack ${x}: file format not recognized. Ignoring." fi ;; a) @@ -545,8 +539,6 @@ unpack() { fi if ___eapi_unpack_supports_xz; then __unpack_tar "xz -T$(___makeopts_jobs) -d" - else - __vecho "unpack ${x}: file format not recognized. Ignoring." fi ;; txz) @@ -558,13 +550,8 @@ unpack() { fi if ___eapi_unpack_supports_txz; then XZ_OPT="-T$(___makeopts_jobs)" tar xof "${srcdir}${x}" || die "${myfail}" - else - __vecho "unpack ${x}: file format not recognized. Ignoring." fi ;; - *) - __vecho "unpack ${x}: file format not recognized. Ignoring." - ;; esac done -- cgit v1.2.3-65-gdbad