Mac-Nerd / patchomator

Management script for Installomator.
Apache License 2.0
106 stars 9 forks source link

Patchomator does not make the App Support folder #10

Closed BigMacAdmin closed 1 year ago

BigMacAdmin commented 1 year ago
[FATAL ERROR] /Library/Application Support/Patchomator is not writable. Re-run patchomator with sudo to create the config file there, or use a writable path with
     --config "path to config file"

Copied patchomator.sh to /usr/local/Installomator and ran it on a fresh VM and this fatal error appears. Script does not properly create its folder dependency.

Error occurs when run via sudo

Running this command resolves the issue: mkdir -p "/Library/Application Support/Patchomator"

Mac-Nerd commented 1 year ago

Good catch. Fixed and closed.