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

gambas very simple updater


https://gitlab.com/bsteers4/gambas/-/blob/bruces-patched/Install_Gambas.sh?ref_type=heads

Remember that all bells and whistles installer script i made?

well i just made a very, very simple one.  only 120 lines, about as simple
as i could get it. it probably needs to be a bit less simple with some
error handling and stuff.

it does no detection and no downloading.
It must be run from a gambas source folder
(I have placed it in my fork and just used it on neon6 VM and it's working
just as expected)

it does the following...

* Asks if you want to "run" the install commands or just show them.
(just showing is good for testing it looks okay first)

* Then asks you to select your os from the .gitlab-ci.yml file build list.

* Then it will either print the commands you need to upgrade to autotools
compiled version or run them all for you.

If installing it pauses before running make install to warn to be sure
packager installed gambas is removed before the next step.

Maybe we could work on something like this to include in the main source to
make the old "upgrading is too complicated for some" rhetoric obsolete ? :)


Respects
BruceS

Follow-Ups:
Re: gambas very simple updaterJorge Carrión <shordi@xxxxxxxxx>
Re: gambas very simple updaterBrian G <brian@xxxxxxxxxxxxxxxx>