Re: multiarch and maintainer scripts
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?
--
Russ Allbery (rra@debian.org) <http://www.eyrie.org/~eagle/>
Reply to: