From 7cb2bdb6a188bf8a1d93da93584764fb1460bc91 Mon Sep 17 00:00:00 2001 From: cronekorkn Date: Mon, 23 Jan 2023 12:57:19 +0100 Subject: [PATCH] cant compare floats --- bundles/macbook/files/macbook-update | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bundles/macbook/files/macbook-update b/bundles/macbook/files/macbook-update index 3ed0bdc..b51424f 100644 --- a/bundles/macbook/files/macbook-update +++ b/bundles/macbook/files/macbook-update @@ -9,7 +9,7 @@ brew upgrade --cask --greedy sudo softwareupdate -ia --verbose -if test "$(defaults read com.apple.dock autohide-time-modifier)" -ne 0.16 +if test "$(defaults read com.apple.dock autohide-time-modifier)" == 0.16 then defaults write com.apple.dock autohide-time-modifier -float 0.16 RESTART_DOCK=TRUE