Bug#516728: update-a-x-i should not run under pbuilder and similar systems

2009-02-24 Thread Junichi Uekawa
At Mon, 23 Feb 2009 14:00:44 +, Enrico Zini wrote: [1 text/plain; utf-8 (quoted-printable)] On Mon, Feb 23, 2009 at 10:26:25PM +0900, Junichi Uekawa wrote: Can it be just a case of: if [ ! -x /usr/sbin/policy-rc.d ] || /usr/sbin/policy-rc.d apt-xapian-index start then

Bug#516728: update-a-x-i should not run under pbuilder and similar systems

2009-02-24 Thread Junichi Uekawa
man invoke-rc.d refers you to: /usr/share/doc/sysv-rc/README.policy-rc.d which is actually available in: /usr/share/doc/sysv-rc/README.policy-rc.d.gz (filed a bug here...) So there is a documentation. I had found that, which is what I used for the example above, but it

Bug#516728: update-a-x-i should not run under pbuilder and similar systems

2009-02-23 Thread Enrico Zini
Package: apt-xapian-index Severity: serious On Mon, Feb 23, 2009 at 12:02:32PM +0900, Junichi Uekawa wrote: We drifted a bit away from the original bug report, and I think this issue deserves its own bug number. That's a good point. How come your pbuilder setup installs apt-xapian-index?

Bug#516728: update-a-x-i should not run under pbuilder and similar systems

2009-02-23 Thread Junichi Uekawa
Hi, At Mon, 23 Feb 2009 11:16:44 +, Enrico Zini wrote: Package: apt-xapian-index Severity: serious On Mon, Feb 23, 2009 at 12:02:32PM +0900, Junichi Uekawa wrote: We drifted a bit away from the original bug report, and I think this issue deserves its own bug number. That's a

Bug#516728: update-a-x-i should not run under pbuilder and similar systems

2009-02-23 Thread Enrico Zini
On Mon, Feb 23, 2009 at 10:26:25PM +0900, Junichi Uekawa wrote: Can it be just a case of: if [ ! -x /usr/sbin/policy-rc.d ] || /usr/sbin/policy-rc.d apt-xapian-index start then update-apt-xapian-index --quiet fi Yeah, I think so. policy-rc.d's original design intent is to have