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

Re: how to test for architecture in perl base pre/postinst scripts ?

Hi Sven,

> I am searching to test for architecture in perl written pre/post inst
> scripts. I am not perl fluetn though, and i don't know what is the
> correct way of querying for architecture in those scripts. Sure i could
> parse the uname output or something such, but maybe there is already a
> prefered way of doing this ?

You could use dpkg-architecture for this.

Reply to: