Le 28 juin 08 à 04:15, Charles Plessy a écrit :

Le Fri, Jun 27, 2008 at 10:31:54AM +0200, Franklin PIAT a écrit :
sid:~# time dpkg -i /var/cache/apt/archives/manpages_3.00-1_all.deb
Selecting previously deselected package manpages.
(Reading database ... 26933 files and directories currently installed.)
Unpacking manpages (from .../manpages_3.00-1_all.deb) ...
Setting up manpages (3.00-1) ...
Processing triggers for man-db ...

[...]

Maybe "Processing triggers" could be replaced by a 2-3 word summary of
what the trigger is really doing?


I don't know what the best practice is, but in "my" trigger action (update-yorickdoc), I print one sentence, that would come right after the "Processing triggers for yorick-doc" line:

Building yorick documentation in ....

So the user knows exactly what happens.

In addition, there is an option in a conffile to deactivate this automatic re-building (in /etc/yorick-doc). If automatic rebuilding is opted-out, you still get the "Processing triggers" message, and one line saying that nothing will be done. So you just loose a very short time while a no-op is being triggered.

Best regards, Thibaut.


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to