mac prereqs update

This commit is contained in:
Greg DiCristofaro 2023-05-19 09:46:56 -04:00
parent ef4075f592
commit 5a5b678484

View File

@ -1,14 +1,4 @@
#!/bin/bash
echo "Installing dependencies..."
brew install ant automake libtool afflib libewf postgresql testdisk libheif \
gst-libav gst-plugins-bad gst-plugins-base gst-plugins-good gst-plugins-ugly gstreamer
if [[ $? -ne 0 ]]
then
echo "Unable to install necessary dependencies" >> /dev/stderr
exit 1
fi
echo "Installing liberica java 17..."
brew tap bell-sw/liberica && \
brew install --cask liberica-jdk17-full
@ -18,5 +8,14 @@ then
exit 1
fi
echo "Installing remaining dependencies..."
brew install ant automake libtool afflib libewf postgresql@15 testdisk libheif gstreamer
if [[ $? -ne 0 ]]
then
echo "Unable to install necessary dependencies" >> /dev/stderr
exit 1
fi
java_path=$(/usr/libexec/java_home -v 17)
echo "Java 17 path: $java_path"