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

Re: Getting DEB_HOST_MULTIARCH from maintscripts



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 variable manually. See for example:

https://sources.debian.net/src/dietlibc/0.34~cvs20160606-3/debian/rules/#L107-L110
https://sources.debian.net/src/dietlibc/0.34%7Ecvs20160606-3/debian/dietlibc-dev.postinst.in/

Regards,
Christian


Reply to: