Alexis Mendoza opened issue #16: Missing /usr/local/bin/ Directory Causes Installer to Fail at Phoney badger / pokemon-colorscripts

Alexis Mendoza
2024-12-18T00:18:26Z

The installer assumes that the /usr/local/bin/ directory exists. If it does not exist, the program fails to run, and the user has to manually create the directory. Additionally, the installer does not inform the user about the missing directory.

Steps to Reproduce Ensure that /usr/local/bin/ does not exist. Run the installer. Observe that the program fails to run. Expected Behavior The installer should check if /usr/local/bin/ exists. If it does not:

Automatically create the directory. Or notify the user about the missing directory. Actual Behavior The installer fails, requiring manual intervention to create the directory.

Proposed Fix Update the installer code to check for the /usr/local/bin/ directory. If it does not exist, the installer should:

Create the directory automatically, or Inform the user to create it manually.

Notes This issue occurred in my environment where /usr/local/bin/ was missing. Fresh install of Mac OS 15.2