[Gambas-user] How do I add a script to a Deb file

Willy Raets willy at ...2734...
Fri Oct 4 21:19:11 CEST 2013


On Fri, 2013-10-04 at 20:57 +0200, Antonio Sánchez wrote:
> That way is not a good idea. You can run scripts in a deb file, but if you
> want force install gambas, you should write gambas3 in the control file as
> a dependency.
> 


Hi Antonio,

1. Making Gambas a dependency is already done when the .deb package is
made. 
2. When you make your .deb package in 3.4.2, it will not install on a
distro with 3.1.1 in official repository

So, Charlie first wants to add a non official repository with a more
recent Gambas version 3.4.2, so that application can meet dependencies
and will install.


This is a problem on Debain/Ubuntu based distros as official repos are
stuch at Gambas 3.1.1
PPA Kendek offers non official 3.4.2 repo for Ubuntu based distros.
Debian has no updated non official repo.

> 
> 2013/10/4 Charlie <charlie at ...2793...>
> 
> > Is there a way to add commands like the ones below to a Deb file created in
> > Gambas?
> >
> > sudo add-apt-repository ppa:nemh/gambas3
> > sudo apt-get update

If that where possible, that would be great as that would indeed solve a
problem on Ubuntu based distros and would make distribution of apps
possible.

> >
> > Thanks for any help.
> >
> > Charlie Ogier

-- 
Kind regards,

Willy (aka gbWilly)

http://gambasshowcase.org/
http://howtogambas.org
http://gambos.org








More information about the User mailing list