Re: architecture in script
At 8:49 +0200 8/18/02, Ian Zimmerman wrote:
>itz> Hi, how can I easily determine the host architecture string in a
>itz> maintainer script? dpkg-architecture is in the dpkg-dev package,
>itz> which I obviously cannot depend on. I could massage the output
>itz> of uname or arch, but that seems too ugly (and I don't even know
>itz> what all the possible outputs are).
>
>Matt> Your question has already been answered, but why do you need
>Matt> this information in a maintainer script?
>
>The package uses a generic name for one of its configuration files. I
>want to create a symlink from the generic name to the correct
>(architecture-dependent) one.
Could you tell us that makes sence?
Please don't add architecture dependencies in packages.
Geert
Reply to: