Skip to content

Commit

Permalink
Retrieve erroneously deleted line
Browse files Browse the repository at this point in the history
  • Loading branch information
Graham R Pugh committed Dec 15, 2020
1 parent a3da747 commit 4fe3a19
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions erase-install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -278,6 +278,8 @@ check_installer_is_valid() {
fi
diskutil unmount force "/Volumes/Shared Support"

system_build=$( /usr/bin/sw_vers -buildVersion )

# we need to break the build into component parts to compare versions
# 1. Darwin version is older in the installer than on the system
if [[ ${installer_build:0:2} -lt ${system_build:0:2} ]]; then
Expand Down

0 comments on commit 4fe3a19

Please sign in to comment.