View Single Post
Old 12-08-2015, 01:37 AM   #13
esteefee
Junior Member
esteefee began at the beginning.
 
Posts: 1
Karma: 10
Join Date: Dec 2015
Device: iPad Air 2 running Kindle app
Quote:
Originally Posted by eschwartz View Post
The command-line tools are installed to your system PATH on Windows and linux, but not on OSX -- because OSX uses Bundles, which have no way to trigger post-install commands I believe.

There used to be an option in Preferences to symlink the tools into /usr/bin on OSX (like the linux installer does) but apparently the method used to get root privileges was deprecated a while back.


The solution is to manually symlink them:
Code:
sudo ln -sf /Applications/calibre.app/Contents/console.app/Contents/MacOS/* /usr/bin/

Note: My auto-upgrade script does this automatically. See here: https://github.com/eli-schwartz/calibre-installer
Note2: I don't use OSX, I experimentally ported it from the linux script which I do use, but I have received confirmation that it works as expected on OSX.
symlinking worked for 3rd party app, thanks! latest install path is apparently /Applications/calibre.app/Contents/calibre-debug.app/Contents/MacOS/*.

Last edited by esteefee; 12-08-2015 at 01:38 AM. Reason: adding path
esteefee is offline   Reply With Quote