mirror of
https://github.com/pyenv/pyenv.git
synced 2024-11-07 20:31:01 -05:00
Removed diff between ruby-build <-> python-build a little
This commit is contained in:
parent
7db657beb5
commit
d75b1a12d7
1 changed files with 4 additions and 1 deletions
|
@ -1,6 +1,6 @@
|
|||
#!/usr/bin/env bash
|
||||
#
|
||||
# Usage: python-build [-kvp] <definition> <prefix>
|
||||
# Usage: python-build [-kpv] <definition> <prefix>
|
||||
# python-build --definitions
|
||||
# python-build --version
|
||||
#
|
||||
|
@ -390,6 +390,9 @@ fetch_tarball() {
|
|||
fi
|
||||
|
||||
if [ "$package_url" != "${package_url%xz}" ]; then
|
||||
if ! type -p xz >/dev/null; then
|
||||
echo "warning: xz not found; consider installing \`xz\` package" >&4
|
||||
fi
|
||||
package_filename="${package_filename%.gz}.xz"
|
||||
tar_args="${tar_args/z/J}"
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue