-
Notifications
You must be signed in to change notification settings - Fork 68
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Homebrew cask support #117
Comments
@ryepesg Does this only affect the installation option? Does
A fallback mechanism can be added to https://github.com/icy/pacapt/blob/ng/lib/homebrew.sh#L138 . I have no Mac to test:( |
@icy Yes, my use case is only for (un)install, other operations like search already work fine. Here are the outputs for the commands you mentioned: % pacapt -S gimp; echo $?
% brew tap homebrew/cask; echo $? Here are some other commands just in case. Happy to continue doing some testing on Mac. % pacapt -R gimp % brew uninstall gimp % brew cask uninstall gimp |
This is tricky. I expect |
@ryepesg Please check out the new script https://raw.githubusercontent.com/icy/pacapt/fix_117/pacapt if that helps. I don't have a Mac/homebrew to test (well, my Mac installation was replaced by Arch stuff.) If you get the idea of my fix you may try to get around in case of problem. I will also ask some friends for tests. Thanks a lot. |
note, this work is on a new branch |
Hi @icy, I just tested but it didn't work. Here is how I tested: /tmp/pacapt (git)-[ng] % git checkout -b fix_117 |
@ryepesg Thanks a lot for your feedback. I will have a look. |
I have a Mac OS now, I will have some tests and fixes this week. |
Any updates on this issue? :) |
@rami3l sorry... I'm gonna fix that today. I didn't know how to use my Mac lolz |
Should be fixed in the latest release v2.4.3 (pr: #127 ) |
I don't know much about bash scripting, but if I am not mistaken, only the -S behavior is updated this time. |
Oh you're right, @rami3l . I was too fast. Hold my beer I will fix it again :) |
It's not so easy as I expected :) Look at the WIP: https://github.com/icy/pacapt/pull/128/files I'm not staying frequently with my Mac -- my main workstation is on Linux. This work would take more time and effort, hopefully I can fix it soon: At least, I can have home/brew here :) |
Will continue this weekend . Thx |
An update: |
|
Thank you very much everyone! |
A lot of useful packages come from Cask, which is now included as part of Homebrew itself.
To use them from Homebrew, you are supposed to use
brew cask
instead of justbrew
. For example, the correct command to install gimp would be:brew cask install gimp
Here is an example of pacapt failing to install gimp:
$ pacapt -S gimp
The text was updated successfully, but these errors were encountered: