<div dir="ltr"><div dir="ltr"><div class="gmail_default" style="font-size:small"><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, 30 May 2022 at 18:11, Benoit Minisini <<a href="mailto:benoit.minisini@gambas-basic.org">benoit.minisini@gambas-basic.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Le 30/05/2022 à 18:55, Bruce Steers a écrit :<br>
> <br>
> hmm, because i've never really used links so don't really have a clue <br>
> what to do.<br>
> <br>
> do you mean something like simply rename the folders and make things <br>
> like /usr/lib/gambas3 a link to the folder, and the program just change <br>
> the links?<br>
<br>
Yes. It's what I use to have a permanent updated install of the current <br>
development version on my system.<br>
<br>
> I'll have to investigate this new symbolic link territory..<br>
> <br>
<br>
Yes, you have to, you must!<br>
<br>
Symbolic links are a gift, I can't count the number of problems you can <br>
simply solve with them.<br>
<br>
-- <br>
Benoît Minisini.<br></blockquote><div><br></div><div style="font-size:small" class="gmail_default">I'm not convinced links the best way to go.<br></div><div style="font-size:small" class="gmail_default">my issue is that if i have the gambas folders linked to other locations then installing an updated version will overwrite the linked files unless the links are removed first. this overly complicates things I think.<br></div><div style="font-size:small" class="gmail_default"><br></div><div style="font-size:small" class="gmail_default">It will work if i add it as a feature of my GambasLatestUpdate app as i can manage the links when updating, otherwise the user will have to be sure to unlink before updating. (you just can't trust the "user" to do it right all the time ;) )<br></div><div style="font-size:small" class="gmail_default"><br></div><div style="font-size:small" class="gmail_default">As it stands i'm thinking simply making backup copies and restoring them could be best, the data from /usr/bin /usr/lib and /usr/share is pretty small, the only real big item is the $HOME/.local/share/gambas3 folder but by default that is not backed up/restored.</div><div style="font-size:small" class="gmail_default"><br></div><div style="font-size:small" class="gmail_default">Unless anyone has a sure fire method?</div><div style="font-size:small" class="gmail_default"><br></div><div style="font-size:small" class="gmail_default">Respects</div><div style="font-size:small" class="gmail_default">BruceS</div><div style="font-size:small" class="gmail_default"><br></div></div></div>