[MacPorts] ProblemHotlist modified

MacPorts Wiki noreply at macports.org
Sun Jan 30 06:32:44 UTC 2022


Page "ProblemHotlist" was changed by ryandesign
Diff URL: <https://trac.macports.org/wiki/ProblemHotlist?action=diff&version=159>
Revision 159
Comment: Shorten the pkgutil command for determining whether CLT are installed
Changes:
-------8<------8<------8<------8<------8<------8<------8<------8<--------
Index: ProblemHotlist
=========================================================================
--- ProblemHotlist (version: 158)
+++ ProblemHotlist (version: 159)
@@ -191,7 +191,7 @@
 To verify whether you have a Command Line Tools receipt, run this command:
 
 {{{
-pkgutil --pkg-info=com.apple.pkg.CLTools_Executables --pkg-info=com.apple.pkg.CLTools_Base --pkg-info=com.apple.pkg.DeveloperToolsCLI --pkg-info=com.apple.pkg.DeveloperToolsCLILeo 2>/dev/null | sed -n 's/^version: //p'
+pkgutil --pkg-info=com.apple.pkg.{CLTools_Executables,CLTools_Base,DeveloperToolsCLI,DeveloperToolsCLILeo} 2>/dev/null | sed -n 's/^version: //p'
 }}}
 
 If it prints a version number, that's the version of the Command Line Tools that are installed, according to the receipt. If it doesn't print anything, you don't have a receipt and should reinstall the Command Line Tools as follows.
-------8<------8<------8<------8<------8<------8<------8<------8<--------

--
Page URL: <https://trac.macports.org/wiki/ProblemHotlist>
MacPorts <https://www.macports.org/>
Ports system for macOS

This is an automated message. Someone added your email address to be
notified of changes on 'ProblemHotlist' page.
If it was not you, please report to admin at macports.org.


More information about the macports-changes mailing list