Add missing not flag

This commit is contained in:
Andrew Kahr 2023-11-14 18:42:44 -08:00
parent 06b3d915c9
commit aae14202b7

View File

@ -6,7 +6,7 @@
UNITY_LICENSE_PATH="/Library/Application Support/Unity" UNITY_LICENSE_PATH="/Library/Application Support/Unity"
if [ -d "$UNITY_LICENSE_PATH" ]; then if [ ! -d "$UNITY_LICENSE_PATH" ]; then
echo "Creating Unity License Directory" echo "Creating Unity License Directory"
sudo mkdir -p "$UNITY_LICENSE_PATH" sudo mkdir -p "$UNITY_LICENSE_PATH"
sudo chmod -R 777 "$UNITY_LICENSE_PATH" sudo chmod -R 777 "$UNITY_LICENSE_PATH"