Re: multiarch and maintainer scripts

2009-07-03 Thread Steve Langasek
On Thu, Jul 02, 2009 at 09:36:23PM +0200, Goswin von Brederlow wrote: what can be done if the maintainer scripts of a package must behave differently when unpacking the i386 deb on i386 or the i386 deb on amd64? For example 32bit fglrx-glx needs to divert /usr/lib/libGL.so.1.2 on i386 but

multiarch and maintainer scripts

2009-07-02 Thread Goswin von Brederlow
Hi, what can be done if the maintainer scripts of a package must behave differently when unpacking the i386 deb on i386 or the i386 deb on amd64? For example 32bit fglrx-glx needs to divert /usr/lib/libGL.so.1.2 on i386 but /usr/lib32/libGL.so.1.2 on amd64. Other examples would be packages that

Re: multiarch and maintainer scripts

2009-07-02 Thread Russ Allbery
Goswin von Brederlow goswin-...@web.de writes: what can be done if the maintainer scripts of a package must behave differently when unpacking the i386 deb on i386 or the i386 deb on amd64? For example 32bit fglrx-glx needs to divert /usr/lib/libGL.so.1.2 on i386 but /usr/lib32/libGL.so.1.2

Re: multiarch and maintainer scripts

2009-07-02 Thread Goswin von Brederlow
Russ Allbery r...@debian.org writes: Goswin von Brederlow goswin-...@web.de writes: what can be done if the maintainer scripts of a package must behave differently when unpacking the i386 deb on i386 or the i386 deb on amd64? For example 32bit fglrx-glx needs to divert

Re: multiarch and maintainer scripts

2009-07-02 Thread Guillem Jover
Hi! On Thu, 2009-07-02 at 13:58:48 -0700, Russ Allbery wrote: Goswin von Brederlow goswin-...@web.de writes: what can be done if the maintainer scripts of a package must behave differently when unpacking the i386 deb on i386 or the i386 deb on amd64? We discussed this with Steve some days

Re: multiarch and maintainer scripts

2009-07-02 Thread Goswin von Brederlow
Guillem Jover guil...@debian.org writes: Hi! On Thu, 2009-07-02 at 13:58:48 -0700, Russ Allbery wrote: Goswin von Brederlow goswin-...@web.de writes: what can be done if the maintainer scripts of a package must behave differently when unpacking the i386 deb on i386 or the i386 deb on