Compare commits

...

4 Commits

Author SHA1 Message Date
Rootspring a47a20ddd1
Merge c84871453c into a78eaf749f 2024-03-11 23:13:05 -07:00
CorpNewt a78eaf749f
Update gibMacOS.command 2024-03-11 18:14:19 -05:00
CorpNewt 01d703fd8f
Update BuildmacOSInstallApp.command 2024-03-11 18:14:11 -05:00
cheesycod c84871453c
Temporary file upload 2020-06-03 11:40:26 +05:30
3 changed files with 4 additions and 4 deletions

View File

@ -59,7 +59,7 @@ set_use_py3_if () {
get_remote_py_version () {
local pyurl= py_html= py_vers= py_num="3"
pyurl="https://www.python.org/downloads/macos/"
py_html="$(curl -L $pyurl 2>&1)"
py_html="$(curl -L $pyurl --compressed 2>&1)"
if [ -z "$use_py3" ]; then
use_py3="TRUE"
fi
@ -88,7 +88,7 @@ download_py () {
echo "Located Version: $vers"
echo
echo "Building download url..."
url="$(curl -L https://www.python.org/downloads/release/python-${vers//./}/ 2>&1 | grep -iE "python-$vers-macos.*.pkg\"" | awk -F'"' '{ print $2 }')"
url="$(curl -L https://www.python.org/downloads/release/python-${vers//./}/ --compressed 2>&1 | grep -iE "python-$vers-macos.*.pkg\"" | awk -F'"' '{ print $2 }')"
if [ -z "$url" ]; then
# Couldn't get the URL - bail
print_error

BIN
gibMacOS-master 2.zip Normal file

Binary file not shown.

View File

@ -59,7 +59,7 @@ set_use_py3_if () {
get_remote_py_version () {
local pyurl= py_html= py_vers= py_num="3"
pyurl="https://www.python.org/downloads/macos/"
py_html="$(curl -L $pyurl 2>&1)"
py_html="$(curl -L $pyurl --compressed 2>&1)"
if [ -z "$use_py3" ]; then
use_py3="TRUE"
fi
@ -88,7 +88,7 @@ download_py () {
echo "Located Version: $vers"
echo
echo "Building download url..."
url="$(curl -L https://www.python.org/downloads/release/python-${vers//./}/ 2>&1 | grep -iE "python-$vers-macos.*.pkg\"" | awk -F'"' '{ print $2 }')"
url="$(curl -L https://www.python.org/downloads/release/python-${vers//./}/ --compressed 2>&1 | grep -iE "python-$vers-macos.*.pkg\"" | awk -F'"' '{ print $2 }')"
if [ -z "$url" ]; then
# Couldn't get the URL - bail
print_error