]> arthur.barton.de Git - bup.git/blobdiff - dev/prep-for-macos-build
README: fix and simplify cirrus badges
[bup.git] / dev / prep-for-macos-build
index e8363d3ebcb30496b06c59f7935ec241bded3900..e5594417cf63aa24e71bc70dd85775e8c7aa88c4 100755 (executable)
@@ -9,9 +9,10 @@ usage()
 
 pyver="${1:-python2}"
 
-/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
+if ! command -v brew; then
+    /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
+fi
 
-brew update
 brew install par2 readline rsync pkg-config md5sha1sum
 
 # This avoid's macos interference, i.e. without this it looks like we
@@ -26,7 +27,6 @@ case "$pyver" in
         ;;
     python3)
         brew install python
-        easy_install --user pip
         pip3 install --user pytest pytest-xdist
         ;;
     *)