Nice :-)


Fabio Mierlo

On 19 January 2017 at 16:54, Lucas C. Villa Real <[email protected]>
wrote:

> On Thu, Jan 19, 2017 at 3:39 PM, Lucas C. Villa Real <
> [email protected]> wrote:
>
>> On Thu, Jan 19, 2017 at 8:42 AM, Hisham Muhammad <[email protected]>
>> wrote:
>>
>>> On 19 January 2017 at 05:41, Anshuman Aggarwal
>>> <[email protected]> wrote:
>>> > I wonder if this cleanup of broken links should be done semi
>>> automatically
>>> > or be prompted to in the Compile or installer script. If gobo is to
>>> ever
>>> > have any wider an audience it needs to help the end user out.
>>> >
>>> > in a normal user system the RemoveBroken command should be harmless and
>>> > advanced tinkerers would know not to run it...thoughts?
>>>
>>> I thought about this before, but scanning the whole /System/Index tree
>>> is slow and not something that is usually needed. So it shouldn't be
>>> something that runs every time.
>>>
>>> As you said, doing semi automatically could be a good idea, but we
>>> need to think about when to trigger this. Perhaps add a --cleanup flag
>>> and suggest that when Compile fails during the install step?
>>>
>>>
>> Alternatively, we could bring Listener back from the dead and use it for
>> cleaning up broken links when any subdirectory of /Programs/*/ is removed.
>> I am going to work on it a bit today with hopes to have it fill that gap.
>>
>
> Here you go:
>
> $ Compile Listener
> $ StartTask Listener
>
> Now whenever a program is removed from /Programs, all broken links from
> /System/Index and /System/Settings will be cleaned up.
>
> Please test and let me know how it goes.
>
> Thanks!
> Lucas
>
>
> _______________________________________________
> gobolinux-users mailing list
> [email protected]
> http://lists.gobolinux.org/mailman/listinfo/gobolinux-users
>
>
_______________________________________________
gobolinux-users mailing list
[email protected]
http://lists.gobolinux.org/mailman/listinfo/gobolinux-users

Reply via email to