Re: Getting DEB_HOST_MULTIARCH from maintscripts

2016-12-15 Thread Christian Seiler
On 12/16/2016 05:03 AM, Mathieu Parent (Debian) wrote: > 2016-12-16 1:24 GMT+01:00 Christian Seiler : >> On 12/15/2016 10:50 PM, Mathieu Parent (Debian) wrote: >>> I need to have access to $DEB_HOST_MULTIARCH in prerm and postinst to >>> create the appropriate symlink with

Re: Getting DEB_HOST_MULTIARCH from maintscripts

2016-12-15 Thread Mathieu Parent (Debian)
2016-12-16 1:24 GMT+01:00 Christian Seiler : > On 12/15/2016 10:50 PM, Mathieu Parent (Debian) wrote: >> I need to have access to $DEB_HOST_MULTIARCH in prerm and postinst to >> create the appropriate symlink with update-alternatives. >> >> What is the best way to do this? > >

Re: Getting DEB_HOST_MULTIARCH from maintscripts

2016-12-15 Thread Christian Seiler
On 12/15/2016 10:50 PM, Mathieu Parent (Debian) wrote: > I need to have access to $DEB_HOST_MULTIARCH in prerm and postinst to > create the appropriate symlink with update-alternatives. > > What is the best way to do this? Generate them from .in files at the appropriate time, resolving the

Re: Getting DEB_HOST_MULTIARCH from maintscripts

2016-12-15 Thread Sven Joachim
On 2016-12-15 22:13 +, Wookey wrote: > On 2016-12-15 22:50 +0100, Mathieu Parent (Debian) wrote: >> Hi, >> >> I need to have access to $DEB_HOST_MULTIARCH in prerm and postinst to >> create the appropriate symlink with update-alternatives. >> >> What is the best way to do this? > > Depend

Re: Getting DEB_HOST_MULTIARCH from maintscripts

2016-12-15 Thread Wookey
On 2016-12-15 22:50 +0100, Mathieu Parent (Debian) wrote: > Hi, > > I need to have access to $DEB_HOST_MULTIARCH in prerm and postinst to > create the appropriate symlink with update-alternatives. > > What is the best way to do this? Depend on dpkg-dev and use dpkg-architecture?

Getting DEB_HOST_MULTIARCH from maintscripts

2016-12-15 Thread Mathieu Parent (Debian)
Hi, I need to have access to $DEB_HOST_MULTIARCH in prerm and postinst to create the appropriate symlink with update-alternatives. What is the best way to do this? Context: my current hack (with a wildcard):