fix(macos): nix string escaping

This commit is contained in:
reo101 2023-10-17 08:21:33 +03:00
parent cc73f6c14e
commit 31d4b9561e
Signed by: reo101
GPG key ID: 675AA7EF13964ACB

View file

@ -175,7 +175,7 @@ in
echo "Allow apps from anywhere" echo "Allow apps from anywhere"
SPCTL="$(spctl --status)" SPCTL="$(spctl --status)"
if ! [ "$\{SPCTL}" = "assessments disabled" ]; then if ! [ "''$''\{SPCTL''\}" = "assessments disabled" ]; then
sudo spctl --master-disable sudo spctl --master-disable
fi fi