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

architecture in script

Hi, how can I easily determine the host architecture string in a
maintainer script?  dpkg-architecture is in the dpkg-dev package,
which I obviously cannot depend on.  I could massage the output of
uname or arch, but that seems too ugly (and I don't even know what all
the possible outputs are).

Ian Zimmerman, Oakland, California, U.S.A.
GPG: 433BA087  9C0F 194F 203A 63F7 B1B8  6E5A 8CA3 27DB 433B A087
EngSoc adopts market economy: cheap is wasteful, efficient is expensive.

Reply to: