Running gcc when not installed on OS X pops up a gui
Bug #1368959 reported by
Matt Jones
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Raise |
Fix Committed
|
High
|
Unassigned |
Bug Description
If gcc, clang, java, et cetera, are not installed, and the user types them into a terminal. They are then prompted with a gui that asks if they want to install that program or not.
Obviously this sucks, because we can't do "gcc --version" to test for clang. It also probably uses a symlink, to look like it installed.
summary: |
- Running gcc when not installed on OS X pops up a gui. + Running gcc when not installed on OS X pops up a gui |
To post a comment you must log in.
Looks like the file:
/var/db/ receipts/ com.apple. pkg.DeveloperTo olsCLI. plist
is created when installed.
Check if there is a file for java too:
ls /var/db/receipts/ | grep -i "java"