Skip to content

Commit c119612

Browse files
authored
Merge pull request #3 from Syntaxheld/feature/future-proof-BaseSystem-handling
improve handling of BaseSystem mounting
2 parents 5f17f0c + f21d366 commit c119612

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

osxapp_vers

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ else
119119
exit
120120
fi
121121

122-
if [ "$OSNAME" = "Mojave" -o "$OSNAME" = "High Sierra" ]; then
122+
if [[ -e "$APPNAME/Contents/SharedSupport/BaseSystem.dmg" ]]; then
123123
# Starting with High Sierra ...
124124
# Mount the BaseSystem.dmg
125125
hdiutil attach "$APPNAME/Contents/SharedSupport/BaseSystem.dmg" \

0 commit comments

Comments
 (0)