On Tue, Dec 11, 2007 at 10:16:20AM +0000, Trevor Watson wrote:

>> An action is one possibility, but this would work well as (part of) an SMF
>> service that ran at boot to update the desktop database.  We could then
>> provide a more generic action that would refresh a particular service on
>> successful installation, deinstallation, or upgrade.  When dealing with a
>> non-live image, it would simply be run during boot, as it's not likely to
>> be required for boot-time services.
>
> But surely you would not want to limit installation of icons to only when 
> the system is booted?

Of course not.  Hence:

    We could then provide a more generic action that would refresh a
    particular service on successful installation, deinstallation, or
    upgrade.

I forgot to remove the reference to booting from the first sentence, making
it a bit more confusing; sorry.

> An action seems like a possibility, but is it too specific?

Definitely.  Which is why I'd rather push this off to a service,
particularly since installing the icon is a matter of laying down a file
and then registering it, rather than some complicated insertion of data
into a file, like creating a user.

Danek
_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss

Reply via email to