Skip to content

Commit 77e257b

Browse files
committed
2.1.1
bug fix
1 parent 63119b0 commit 77e257b

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

macsu.zsh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,15 @@
33

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

1212
export LANG=en_US.UTF-8
1313

14-
macsuv="2.1.0"
14+
macsuv="2.1.1"
1515
macsumv="2"
1616
scrname=$(basename "$0")
1717
process="macOS Security"
@@ -243,7 +243,7 @@ if ! [[ -f "$cachedir/efiv.txt" ]] ; then
243243
echo -n "$efiv" > "$cachedir/efiv.txt"
244244
fi
245245
if ! [[ -f "$cachedir/ibridgev.txt" ]] ; then
246-
ibridgev=$(echo "$hwdata" | awk -F"[()]" '{print $2}' | awk -F"iBridge: " '{print $2}')
246+
ibridgev=$(echo "$hwdata" | awk -F"[()]" '{print $2}' | awk -F"iBridge: " '{print $2}' | awk -F, '{print $1}')
247247
! [[ $ibridgev ]] && ibridgev="n/a"
248248
echo "Saving current iBridge version: $ibridgev"
249249
echo -n "$ibridgev" > "$cachedir/ibridgev.txt"

0 commit comments

Comments
 (0)