Skip to content

Commit

Permalink
Update version check in install.sh (Fixes gnarf#25)
Browse files Browse the repository at this point in the history
The previous version check couldn't deal with decimal places and was failing, this change should fix that.
  • Loading branch information
willismonroe authored Jun 25, 2019
1 parent bf307c8 commit 7663511
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ fi

# Copy Karabiner settings.
echo "Copying Karabiner settings..."
if [[ $OSX_VERSION -ge 12 ]]; then
if (( $(echo "$OSX_VERSION > 12" | bc -l) )); then
mkdir -p ~/.karabiner.d/configuration
cp karabiner.json ~/.karabiner.d/configuration/karabiner.json
else
Expand Down

0 comments on commit 7663511

Please sign in to comment.