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

Re: udpkg: add a --os option



Hello,

On Tue, Aug 11, 2009 at 5:25 AM, Aurelien Jarno<aurelien@aurel32.net> wrote:
> On Mon, Aug 10, 2009 at 08:41:36PM -0300, Otavio Salvador wrote:
>> Sorry but I fail to see the difference between calling uname and
>> udpkg. Can you provide an example how it would help?
>>
>
> DEB_ARCH_OS returns 'linux' on GNU/Linux, and 'kfreebsd' on
> GNU/kFreeBSD, which is better than uname. It returns 'Linux' on
> GNU/Linux and 'GNU/kFreeBSD' on GNU/kFreeBSD. This means depending on
> the script, it has to be passed through: | tr 'A-Z' 'a-z' | tr -d '/'

Ok; you got my support for it.

-- 
Otavio Salvador                  O.S. Systems
E-mail: otavio@ossystems.com.br  http://www.ossystems.com.br
Mobile: +55 53 9981-7854         http://projetos.ossystems.com.br


Reply to: