Mac-Nerd / patchomator

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

command not found: realpath #5

Closed Mac-Nerd closed 1 year ago

Mac-Nerd commented 1 year ago

Script result: /usr/local/Installomator/patchomator.sh:96: command not found: realpath usage: dirname string [...] tput: No value for $TERM and no -T specified tput: No value for $TERM and no -T specified tput: No value for $TERM and no -T specified tput: No value for $TERM and no -T specified [NOTICE] Verbose Mode enabled. [NOTICE] Checking for configuration at /Library/Application Support/Patchomator/patchomator.plist [NOTICE] No config file at /Library/Application Support/Patchomator/patchomator.plist. Running discovery. [NOTICE] Looking for labels in /fragments/labels/ [FATAL ERROR] Package labels not present and is not writable. Re-run patchomator with sudo to download and install them.

Though I thought everything run from jamf was running from sudo, but there might be something I'm missing here.

Originally posted by @duderin0 in https://github.com/Mac-Nerd/patchomator/issues/4#issuecomment-1527780128

Mac-Nerd commented 1 year ago

fixed in 1.0.1