VirtualBox

Changeset 103062 in vbox


Ignore:
Timestamp:
Jan 25, 2024 2:09:50 PM (10 months ago)
Author:
vboxsync
Message:

Installer/Python: macOS logging fixes. bugref:10579

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Installer/darwin/VirtualBox/postflight

    r103028 r103062  
    6464            "$PYTHON_BIN" -c "from distutils.core import setup" > /dev/null 2>&1
    6565            if test "$?" -ne 0; then
    66                 echo 1>&2 "Python $PYTHON_VER does not have package 'distutils', checking for 'setuptools'..."
     66                echo 1>&2 "$PYTHON_BIN does not have package 'distutils', checking for 'setuptools'..."
    6767                # Since Python 3.12 there are no distutils anymore. See PEP632.
    6868                "$PYTHON_BIN" -c "from setuptools import setup" > /dev/null 2>&1
    6969                if test "$?" -ne 0; then
    70                     echo 1>&2 "Python $PYTHON_VER also does not have package 'setuptools'. Skipping installation."
     70                    echo 1>&2 "$PYTHON_BIN also does not have package 'setuptools'. Skipping installation."
    7171                    return 0
    7272                fi
     
    8888        fi
    8989    done
     90else
     91    echo 1>&2 "vboxapisetup.py not found, skipping Python bindings installation."
    9092fi
    9193
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette