[Gambas-user] Package Wizard - Debian Packages

Benoit Minisini gambas at ...1...
Fri Feb 4 12:29:14 CET 2005


On Thursday 03 February 2005 16:00, Dave sharples wrote:
> On Thu, 2005-02-03 at 12:44, Benoit Minisini wrote:
> > Yes. Send me some code that make debian package with dpkg instead of
> > using alien!
>
> OK, I'll have a go this weekend but I could do with 2 questions
> answering,
>
> 1. Is there an easy way to detect if a program (in this case dpkg) is
> installed on the system ??

There is a method in the Project class of the IDE: Project.CheckProgram()

>
> 2.Does SELECT allow for multiple opions in the CASE arguement
>
> i.e. can I do something like
>
> SELECT CASE sSys
>
> CASE "mandrake", "redhat", "suse"
> 	<do something>
>
> CASE "debian"
> 	<do something completely different>
>
> END SELECT

Yes. Isn't it written in the doc ?

>
> Cheers
> Dave
>
>

Regards,

-- 
Benoit Minisini
mailto:gambas at ...1...




More information about the User mailing list