На Sat, 22 Mar 2008 20:09:47 +0100
Adeodato Simó <[EMAIL PROTECTED]> записано:

> * Alexander GQ Gerasiov [Sat, 22 Mar 2008 22:04:38 +0300]:
> 
> > Hi there.
> 
> Hello Alexander. Check <http://wiki.debian.org/DpkgConffileHandling>.

Hello again. I found problem with those scripts:

$ export CONFFILE=/etc/xneur/fr/proto
$ dpkg-query -W -f='${Conffiles}' $PKGNAME | sed -n -e "\\' $CONFFILE'{s/ 
obsolete$//;s/.* //p}"
18a3b3b86bf3e5b0ca94407472466764
ae9d7e984350e929fd6820bf46ea6efe

That's because I have /etc/xneur/fr/proto and /etc/xneur/fr/proto3

So I suppose it would be better to add space after $CONFFILE in sed expression:
dpkg-query -W -f='${Conffiles}' $PKGNAME | sed -n -e "\\' $CONFFILE '{s/ 
obsolete$//;s/.* //p}"



-- 
Best regards,
 Alexander GQ Gerasiov

 Contacts:
 e-mail:    [EMAIL PROTECTED]             Jabber:  [EMAIL PROTECTED]
 Homepage:  http://gq.net.ru         ICQ:     7272757
 PGP fingerprint: 0628 ACC7 291A D4AA 6D7D  79B8 0641 D82A E3E3 CE1D

Reply via email to