fosskers / aura

A multilingual package manager for Arch Linux and the AUR.
https://fosskers.github.io/aura/
1.66k stars 110 forks source link

[feature request] "--needed" switch in aura.conf #721

Open Earthling-Z3R0 opened 2 years ago

Earthling-Z3R0 commented 2 years ago

Since I don't want to re-install packages/dependencies that are already present on the system, I keep appending "--needed" to my -S commands. Is it possible to add this as a toggle in aura.conf, since there is no such option in pacman.conf ?!

D0nnieD4rk0 commented 2 years ago

just add those commands as aliases in your .bashrc

Earthling-Z3R0 commented 2 years ago

I didn't realize I can do "aura -needed -S appname". I always appeneded "--needed" at the end of line. So yes, I can now indeed alias "aura" to "aura --needed" and then append the actualy operators I want to use.

I hope the "--needed" bit doesn't interfere with operators other than "-A" or "-S". (In that case I would have to name the alias different from "aura" which I would like to avoid.)

Thanks for the hint.

Anyway, I still think this switch would be nice to have on aura.conf :)

fosskers commented 2 years ago

This is a reasonable request, I can check the current config settings and add it.

Earthling-Z3R0 commented 2 years ago

Awesome!! :+1:

fosskers commented 3 weeks ago

Hi there, I'm sorry it took so long to get back around to this. Is this use of --needed still necessary for you?