SomberNight
3 years ago
No known key found for this signature in database
GPG Key ID: B33B5F232C6271E9
1 changed files with
2 additions and
2 deletions
-
contrib/osx/make_osx
|
|
@ -3,7 +3,7 @@ |
|
|
|
set -e |
|
|
|
|
|
|
|
# Parameterize |
|
|
|
PYTHON_VERSION=3.7.9 |
|
|
|
PYTHON_VERSION=3.9.7 |
|
|
|
BUILDDIR=/tmp/electrum-build |
|
|
|
PACKAGE=Electrum |
|
|
|
GIT_REPO=https://github.com/spesmilo/electrum |
|
|
@ -72,7 +72,7 @@ PKG_FILE="python-${PYTHON_VERSION}-macosx10.9.pkg" |
|
|
|
if [ ! -f "$CACHEDIR/$PKG_FILE" ]; then |
|
|
|
curl -o "$CACHEDIR/$PKG_FILE" "https://www.python.org/ftp/python/${PYTHON_VERSION}/$PKG_FILE" |
|
|
|
fi |
|
|
|
echo "bf54a14eef23467991e8c7a88c7307762e484c024a94ec1ee292ac1db3d41fc9 $CACHEDIR/$PKG_FILE" | shasum -a 256 -c \ |
|
|
|
echo "f40f7407d20f88a6a64678b6586853de16cc5d7d07c82a8a2a7e43bba59dbae5 $CACHEDIR/$PKG_FILE" | shasum -a 256 -c \ |
|
|
|
|| fail "python pkg checksum mismatched" |
|
|
|
sudo installer -pkg "$CACHEDIR/$PKG_FILE" -target / \ |
|
|
|
|| fail "failed to install python" |
|
|
|