Closed rbellamy closed 9 years ago
That's weird. Unable to reproduce.
By the way, something seems to be wrong with the atom editor UI (unable to actually use it):
I just remembered I have pacman aliased to pacmatic... that's probably the problem here.
have pacmatic && alias pacman=pacmatic && export PACMAN=/usr/bin/pacmatic
As for that view of Atom, that's the developer panel. See that red circle-X? That shows that there's an error in the console - go there and you'll likely see what is borking out during launch.
Yeah it's definitely pacmatic. I'll try to isolate the issue and then either make changes to apacman or file a bug report with pacmatic if I'm unable to.
Seemed to me that pacmatic wasn't issuing the correct exit code when it couldn't find a package, so I made quick modification to it (exit $exit_code
rather than exit 0
), but that didn't do the trick... thanks for looking at this.
Yup, haha I noticed the same and I was going to mention it but that's not the only difference. That is a problem with using a wrapper inside of a wrapper - layers upon layers. I am a bit surprised that it works with packer, so it's definitely one of the changes I've made.
I did a git bisect and the problem commit is v0.9 (caa3cbe696629e2e6bcc039fa08d164168730962). The breakage was changing hard-coded instances of pacman
to use the environmental variable $PACMAN
. Reverting non-install instances fixed the issue.
Fixed in v1.3
I'm not convinced ignoring the $PACMAN env variable is the "right" way to go...
I compared against packer and all I did was revert my changes.
Though instead of hard-coding in pacman
I used the $pacmanbin
variable, you can change that at the top and see that the pacmatic
script will not work because it's a quick and dirty hack.
Furthermore pacmatic
can only wrap: -Syu|-Su|-S|-Sy|-Syyu|-Syy
. I'm not sure what you expect
Actually, I think you've gone above and beyond here... I really don't expect it to work with pacmatic, but think it should support $PACMAN
. I went ahead and removed pacmatic in favor of using this tool.