You are not logged in.

#1 2012-10-19 16:08:43

fulmare
Member
Registered: 2011-02-16
Posts: 25

pacman.conf NoExtract not working

Hello everyone, I've added this line to my /etc/pacman.conf but it's not working:

NoExtract = usr/share/locale/zh_CN

When I install i.e. gtk3 the directory zh_CN comes back. I can only exclude only files without wildcard chars.
As I know (https://bugs.archlinux.org/task/18988), it should work, I'm missing something?

Offline

#2 2012-10-19 16:12:21

Xabre
Member
From: Serbia
Registered: 2009-03-19
Posts: 757

Re: pacman.conf NoExtract not working

You specified a direcotory, not a file.

Offline

#3 2012-10-19 16:14:14

fulmare
Member
Registered: 2011-02-16
Posts: 25

Re: pacman.conf NoExtract not working

Yes, I know, that's exactly the point smile

Offline

#4 2012-10-19 17:04:49

WonderWoofy
Member
From: Los Gatos, CA
Registered: 2012-05-19
Posts: 8,414

Re: pacman.conf NoExtract not working

So shouldn't you put  NoExtract = /usr/share/locale/zn_CN/* if it a directory?  I mean it doesn't really hurt to have the directory itself there, but it is the files you don't want, right?

Offline

#5 2012-10-19 17:50:30

fulmare
Member
Registered: 2011-02-16
Posts: 25

Re: pacman.conf NoExtract not working

Inside zn_CN there's LC_MESSAGES directory, so it does not work, neither with slash nor without.
Then I've tried NoExtract = usr/share/locale/zh_CN/LC_MESSAGES/* , same result.
BTW thank you for the replies.

Last edited by fulmare (2012-10-19 17:51:25)

Offline

#6 2012-10-19 22:58:04

falconindy
Developer
From: New York, USA
Registered: 2009-10-22
Posts: 4,111
Website

Re: pacman.conf NoExtract not working

WonderWoofy wrote:

So shouldn't you put  NoExtract = /usr/share/locale/zn_CN/* if it a directory?  I mean it doesn't really hurt to have the directory itself there, but it is the files you don't want, right?

Globbing doesn't work until pacman 4.1

Offline

#7 2012-10-20 01:11:54

WonderWoofy
Member
From: Los Gatos, CA
Registered: 2012-05-19
Posts: 8,414

Re: pacman.conf NoExtract not working

Ah, okay thanks faconindy.

Offline

#8 2012-10-20 16:58:23

fulmare
Member
Registered: 2011-02-16
Posts: 25

Re: pacman.conf NoExtract not working

So it's like that by design?

Offline

#9 2012-10-20 17:01:20

falconindy
Developer
From: New York, USA
Registered: 2009-10-22
Posts: 4,111
Website

Re: pacman.conf NoExtract not working

Given that I had to implement globbing, yes I'd say the current behavior is by design.

Offline

Board footer

Powered by FluxBB