manjaro / pamac

Graphical Package Manager for Manjaro Linux with Alpm, AUR, Appstream, Flatpak and Snap support
GNU General Public License v3.0
235 stars 42 forks source link

[Feature request] Respect NoExtract= array in /etc/pacman.conf #387

Open Mel34 opened 6 years ago

Mel34 commented 6 years ago

Preface: Pacman allows skipping extraction of files defined in pacman.conf and listed under NoExtract= This list accepts shell style globs (such as *) and exclude rule (using !) Example: I have set up pacman.conf to skip extracting localization files for languages unused on my system (which amounts to ~400 MB files residing in /usr/share/locale) Installing software using Pamac ignores this and extracts all the unwanted files. Expected result: Pamac respects rules defined in /etc/pacman.conf and doesn't extract files listed under NoExtract= array Proposition: Implement support for skipping files defined in NoExtract= array such that it respects /etc/pacman.conf setting.

Thank you for reading this