[gobolinux-users] Detachprogram

Michael Homer gobo-users-dufus at wotfun.com
Thu Mar 22 22:33:58 UTC 2007


On 3/23/07, tim wylie <timwylie at hotmail.com> wrote:
> Hey,
>   I have a couple of quick questions about making symlink directories/etc.
> First, if using detachprogram do you have to specify a version number?  Does
> it have a default to just move all versions?
It moves the version in Current if you don't specify an explicit
version. There is no way to make it move all versions built in (that I
see) - cd /Programs/Foo && for i in * ; do [[ "$i" != "Settings" &&
"$i" != "Current" ]] && CurrentDetachProgram Foo $i ; done will work.
> It doesn't look like there is a matching script to re-attach the program if
> you decide you want it back in /Programs.  For this would you have to delete
> the symlink in /Programs, copy all the files back to /Programs, and then use
> the Symlink script to relink it?  Also, does Symlink require a version
> number or will it just link the latest?
That's the procedure, yes. Take a look at AttachProgram -r, though, I
think that does what you're looking for (I'm not certain of that, I
just read the code).

SymlinkProgram re-links Current if you don't specify a version.
-Michael


More information about the gobolinux-users mailing list