mirror of
https://github.com/pyenv/pyenv.git
synced 2025-11-10 20:43:48 -05:00
Removed diff between ruby-build <-> python-build a little
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
#
|
#
|
||||||
# Usage: python-build [-kvp] <definition> <prefix>
|
# Usage: python-build [-kpv] <definition> <prefix>
|
||||||
# python-build --definitions
|
# python-build --definitions
|
||||||
# python-build --version
|
# python-build --version
|
||||||
#
|
#
|
||||||
@@ -390,6 +390,9 @@ fetch_tarball() {
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
if [ "$package_url" != "${package_url%xz}" ]; then
|
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"
|
package_filename="${package_filename%.gz}.xz"
|
||||||
tar_args="${tar_args/z/J}"
|
tar_args="${tar_args/z/J}"
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user