How to prevent brew install from automatically linking contents from a folder? #553
Unanswered
cesarcoatl
asked this question in
Tap maintenance and Homebrew development
Replies: 2 comments 14 replies
-
|
Try using |
Beta Was this translation helpful? Give feedback.
3 replies
-
|
Additional info. The ZIP file, once unpacked, contains a Is there a way to prevent this? $ brew install --debug --verbose foo@1.0
...
==> Finishing up
/usr/local/Homebrew/Library/Homebrew/brew.rb (Formulary::FormulaLoader): loading /usr/local/Homebrew/Library/Taps/my-tap/homebrew-my-tap/Formula/foo@2.0.rb
ln -s ../Cellar/foo@1.0/1.0/bin/foo-1.0 foo-1.0
ln -s ../Cellar/foo@1.0/1.0/bin/bar-1.0 bar-1.0
ln -s ../Cellar/foo@1.0/1.0/bin/baz-1.0 baz-1.0
ln -s ../Cellar/foo@1.0/1.0/lib/core core
ln -s ../Cellar/foo@1.0/1.0/lib/install-info.txt install-info.txt
ln -s ../Cellar/foo@1.0/1.0/lib/libfoo.dylib libfoo.dylib
ln -s ../Cellar/foo@1.0/1.0/lib/libwrapper-macosx-universal-64.dylib libwrapper-macosx-universal-64.dylib
ln -s ../Cellar/foo@1.0/1.0/lib/libwrapper-macosx-universal-64.jnilib libwrapper-macosx-universal-64.jnilib
ln -s ../Cellar/foo@1.0/1.0/lib/opt opt
ln -s ../Cellar/foo@1.0/1.0/lib/runtime runtime
ln -s ../Cellar/foo@1.0/1.0/lib/wrapper.jar wrapper.jar
...Additionally. Why is there a mention of Thanks |
Beta Was this translation helpful? Give feedback.
11 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello.
I have created formulae (not yet published), and I am going the "versioned" route, e.g.
foo@1.0.0,foo@2.0.0, with the intention of installing and running both on the same machine.But the problem I am facing is that some files and folders are linked at
/usr/local/lib, so when I try to install the other version I get a warning and it is instructing me to executebrew link --overwrite, which would "unlink" the other version.Is there something I can do on the
installblock or anywhere else so both versions can coexist?Thanks!
Beta Was this translation helpful? Give feedback.
All reactions