On Sun, Aug 4, 2013 at 19:25:43 +0900, Daigo Moriwaki wrote: > Julien, > > On Sun, Aug 4, 2013 at 5:56 PM, Julien Cristau <jcris...@debian.org> wrote: > > > So it looks like you've done the very wrong thing... Reopening, there's > > absolutely no reason your package should need to run dpkg-architecture > > in postinst. It's an arch:any package, it knows which architecture it > > is. > > > > Do you know another good way? > I can not find an environment variable or place holder indicating a host > architecture. > DPKG_MAINTSCRIPT_ARCH Defined by dpkg on the maintainer script environment to the architecture the package got built for.
Cheers, Julien
signature.asc
Description: Digital signature