Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

support for Catalina softwareupdate output #101

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

w0de
Copy link

@w0de w0de commented Dec 18, 2019

In Catalina, the output for software update appears so:

Software Update Tool

Finding available software
Software Update found the following new or updated software:
* Label: Command Line Tools for Xcode-11.2
	Title: Command Line Tools for Xcode, Version: 11.2, Size: 224942K, Recommended: YES,
* Label: Command Line Tools for Xcode-11.3
	Title: Command Line Tools for Xcode, Version: 11.3, Size: 224878K, Recommended: YES,

softwareupdate -i expect "Command Line Tools for Xcode-11.2" not "Label: Command Line Tools for Xcode-11.2". Support for Mojave/High Sierra is preserved, since the added sed pipe won't change output without "Label: ".

@herbota
Copy link

herbota commented Jan 20, 2021

I also encountered this issue when installing Command Line Tools for Xcode in Catalina. This change fixed that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants