Skip to content

Commit

Permalink
2.1.1
Browse files Browse the repository at this point in the history
bug fix
  • Loading branch information
JayBrown committed Jun 1, 2020
1 parent 63119b0 commit 77e257b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions macsu.zsh
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,15 @@

# macOS Security Updates (macSU)
# shell script: macsu.zsh / LaunchAgent: local.lcars.macOSSecurityUpdates
# v2.1.0
# v2.1.1
# Copyright (c) 2018–20 Joss Brown (pseud.)
# license: MIT+
# info: https://github.com/JayBrown/macOS-Security-Updates
# thanks to Howard Oakley: https://eclecticlight.co / https://github.com/hoakleyelc/updates

export LANG=en_US.UTF-8

macsuv="2.1.0"
macsuv="2.1.1"
macsumv="2"
scrname=$(basename "$0")
process="macOS Security"
Expand Down Expand Up @@ -243,7 +243,7 @@ if ! [[ -f "$cachedir/efiv.txt" ]] ; then
echo -n "$efiv" > "$cachedir/efiv.txt"
fi
if ! [[ -f "$cachedir/ibridgev.txt" ]] ; then
ibridgev=$(echo "$hwdata" | awk -F"[()]" '{print $2}' | awk -F"iBridge: " '{print $2}')
ibridgev=$(echo "$hwdata" | awk -F"[()]" '{print $2}' | awk -F"iBridge: " '{print $2}' | awk -F, '{print $1}')
! [[ $ibridgev ]] && ibridgev="n/a"
echo "Saving current iBridge version: $ibridgev"
echo -n "$ibridgev" > "$cachedir/ibridgev.txt"
Expand Down

0 comments on commit 77e257b

Please sign in to comment.