keenerd / pacmatic

A little wrapper script to keep Arch Linux from shooting you in the foot.
http://kmkeen.com/pacmatic/
104 stars 25 forks source link

Pacmatic does not install dependencies with makepkg -s #5

Closed voidlily closed 12 years ago

voidlily commented 12 years ago

When I have export PACMAN=pacmatic in my bashrc, doing makepkg -s to install dependencies doesn't work.

How to reproduce

  1. export PACMAN=pacmatic
  2. Find a package you don't have all the dependencies installed for
  3. makepkg -s

    What I expected

It should have prompted to install dependencies.

What I got

It skipped installing dependencies.

Workaround

PACMAN=pacman makepkg -s

keenerd commented 12 years ago

I'm flattered you are using PACMAN=pacmatic but it is a horrible idea. I will not condone or support it. Pacmatic is meant to be used by a human, not by scripts. As you've already seen, it will break in horrible ways.

As Pacmatic is designed to prevent breakages, I may consider adding an explicit check for PACMAN=pacmatic and raising an error.

Closing because eating safety pins is a bad idea, despite the name.