aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Gilbert <floppym@gentoo.org>2024-05-22 11:35:07 -0400
committerMike Gilbert <floppym@gentoo.org>2024-05-22 11:35:07 -0400
commit7fa294b66c78b9a9000d161f3b4bacbad158489b (patch)
tree6665bead047430e4b5dd60ff25430a8ec2651ed2
parentDrop portage.util.shlex_split (diff)
downloadportage-7fa294b66c78b9a9000d161f3b4bacbad158489b.tar.gz
portage-7fa294b66c78b9a9000d161f3b4bacbad158489b.tar.bz2
portage-7fa294b66c78b9a9000d161f3b4bacbad158489b.zip
unpack: skip unrecognized file formats *silently*
See PMS section 12.3.15. Signed-off-by: Mike Gilbert <floppym@gentoo.org>
-rw-r--r--bin/phase-helpers.sh13
1 files changed, 0 insertions, 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