[gobolinux-devel] Patchs for: DisableProgram, RemoveProgram, GoboLinux
Aitor Pérez Iturri
atuin at phreaker.net
Wed Apr 4 04:35:36 UTC 2007
Here comes patchs to add support for detached programs:
Changes:
* Added some functions to GoboLinux:
- UnlinkCurrent :: unlinks the current
- UnlinkProgram :: Remove links for program
- RemoveProgram :: Remove directories for program
- IsDetached :: Tells if a program is detached
* DisableProgram have been modified to be similar to RemoveProgram
* RemoveProgram have been modified:
- Added --follow option to force to remove detached programs.
* Both programs now can fix broken links: example, if you have a
detached program (under /Depot/Programs for example) with symlinks to
system but not linked into /Programs, DisableProgram and RemoveProgram
will delete symlinks from detached program (doesn't show any msg, just
Quiet).
* Removed the use of RemoveBroken to delete links, now is handed by
UnlinkProgram. This has been done due to with detached programs is not
possible to use that script.
what do you think about?
Saludos.
Aitor
--
... Bardulia quae nunc vocatur Castella ...
-------------- next part --------------
A non-text attachment was scrubbed...
Name: DisableProgram.patch
Type: application/octet-stream
Size: 2637 bytes
Desc: not available
Url : http://lists.gobolinux.org/pipermail/gobolinux-devel/attachments/20070404/726445fd/attachment-0003.obj
-------------- next part --------------
A non-text attachment was scrubbed...
Name: RemoveProgram.patch
Type: application/octet-stream
Size: 3310 bytes
Desc: not available
Url : http://lists.gobolinux.org/pipermail/gobolinux-devel/attachments/20070404/726445fd/attachment-0004.obj
-------------- next part --------------
A non-text attachment was scrubbed...
Name: GoboLinux.patch
Type: application/octet-stream
Size: 2631 bytes
Desc: not available
Url : http://lists.gobolinux.org/pipermail/gobolinux-devel/attachments/20070404/726445fd/attachment-0005.obj
More information about the gobolinux-devel
mailing list