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 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 (r...@debian.org) <http://www.eyrie.org/~eagle/> -- To UNSUBSCRIBE, email to debian-devel-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org