[Lazarus] RE : Determining OS

Eduardo companheiro.vermelho at gmail.com
Sun Jul 31 21:02:10 CEST 2011


Yes, you are definily doing it wrong.
You shouldn't even have a installer for Linux. Programs in Linux with 
installers are just weird... Let the package manager do what a installer 
would do for you (you can have custom scripts in the package manager if 
that's strictly necessary, but it shouldn't).

On Mac, the most elegant install solution IMHO is to simply copy the 
Application Bundle to the /Applications folder and that is it. No 
install necessary, any configuration necessary is created the first time 
the application runs.
But if you really must have a installer for MacOSX I recommend creating 
a package for MacOSX default installer application. Again you just 
package everything with a few scripts and that is it.

Badilly written custom installer applications is a Windows thing and I'm 
happy that I don't need to bother with them anymore...


Em 31-07-2011 15:38, lazarus-request at lists.lazarus.freepascal.org escreveu:
> Send Lazarus mailing list submissions to
> 	lazarus at lists.lazarus.freepascal.org
>
> To subscribe or unsubscribe via the World Wide Web, visit
> 	http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
> or, via email, send a message with subject or body 'help' to
> 	lazarus-request at lists.lazarus.freepascal.org
>
> You can reach the person managing the list at
> 	lazarus-owner at lists.lazarus.freepascal.org
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of Lazarus digest..."
>
>
> Today's Topics:
>
>     1. Re: RE : Determining OS (Graeme Geldenhuys)
>     2. Re: TAChart 2nd Y Axis (David M. Lawrence)
>     3. Re: RE : Determining OS (ik)
>     4. Re: RE : Determining OS (Chris Kelling)
>     5. Re: RE : Determining OS (ik)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Sun, 31 Jul 2011 19:37:59 +0200
> From: Graeme Geldenhuys<graemeg.lists at gmail.com>
> Subject: Re: [Lazarus] RE : Determining OS
> To: Lazarus mailing list<lazarus at lists.lazarus.freepascal.org>
> Message-ID:
> 	<CALVqcdgJehCDfHQxupsAEgjEKbYz+NzwAq21X_iGHduj=1uZhw at mail.gmail.com>
> Content-Type: text/plain; charset=UTF-8
>
> 2011/7/31 Ludo Brands<ludo.brands at free.fr>:
>> Have you tried uname?
> That only gives you the kernel version.
>
>
>> lsb_release on ubuntu 10 64 bit says: no LSB modules are available. On
>> debian lenny for arm: command not found...
> Don't you guys READ!!!  I specifically showed the parameters you need
> to specify with the 'lsb_release' command so you DO GET THE RIGHT
> OUTPUT.
>
> Try this:
>
>     $ lsb_release -a
>
>
> Or from my original post...
>
>> --------------------------------------------------------------------------
>> $ lsb_release --help
>> Usage: lsb_release [options]
>>
>> Options:
>> ?-h, --help ? ? ? ? show this help message and exit
>> ?-v, --version ? ? ?show LSB modules this system supports
>> ?-i, --id ? ? ? ? ? show distributor ID
>> ?-d, --description ?show description of this distribution
>> ?-r, --release ? ? ?show release number of this distribution
>> ?-c, --codename ? ? show code name of this distribution
>> ?-a, --all ? ? ? ? ?show all of the above information
>> ?-s, --short ? ? ? ?show all of the above information in short format
>>
>

-- 
Eduardo
"Ela virá, a revolução conquistará a todos o direito não somente ao pão mas, também, à poesia." (Leon Trotsky)





More information about the Lazarus mailing list