Selaa lähdekoodia

fix distro version check

pull/345/head
Josh Friend 11 vuotta sitten
vanhempi
commit
1d7ce651b0
1 muutettua tiedostoa jossa 2 lisäystä ja 2 poistoa
  1. +2
    -2
      plugins/python-build/bin/python-build

+ 2
- 2
plugins/python-build/bin/python-build Näytä tiedosto

@ -1140,13 +1140,13 @@ require_java() {
require_distro() {
for arg; do
if [[ "$(cat /etc/issue 2>/dev/null || true)" == "$1"* ]]; then
if [[ "$(cat /etc/issue 2>/dev/null || true)" == "$arg"* ]]; then
return 0
fi
done
{ echo
colorize 1 "WARNING"
echo ": This binary distribution is built for $1."
echo ": This binary distribution is built for the following distro(s): $@."
echo "installed binary may not run expectedly on other platforms."
echo
} >&2

Ladataan…
Peruuta
Tallenna