[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: multiarch and maintainer scripts



Russ Allbery <rra@debian.org> writes:

> Goswin von Brederlow <goswin-v-b@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 on amd64.
>
> Surely this is as simple as:
>
> case `dpkg --print-architecture` in
> amd64)
>     # Do some stuff.
>     ;;
> i386)
>     # Do some other stuff.
>     ;;
> esac
>
> isn't it?

That is another possibility. Is that the solution we (as in Debian)
want?

MfG
        Goswin


Reply to: