Hi Clint,

Clint Byrum wrote:
> the time is already configurable via the environment
> variable LONG_RUNNING_COMMAND_TIMEOUT.

In version 0.1.0+bzr10-1, this wasn't documented at all. In version
0.1.0+bzr19-1 the variable is documented in README.md. That's already
an improvement.

> Did you mean you want to see this configurable system-wide via
> debconf,

Yes and no.

Since installing the package enables the unconditionally system-wide,
there should be a possibility to disable the global activation or at
least configuring the timeout value -- better both. Currently the user
seems to have no chance to disable undistract-me or change
$LONG_RUNNING_COMMAND_TIMEOUT if the .deb is installed.

But this does not need such heavy-weight tools as debconf.

Letting /etc/profile.d/undistract-me.sh source
/etc/default/undistract-me and then only source
/usr/share/undistract-me/long-running.bash if e.g.
$GLOBALLY_ENABLE_UNDISTRACT_ME is set to something like "1" or "true"
should already suffice.

This would also allow the administrator to set
$LONG_RUNNING_COMMAND_TIMEOUT globally.

                Regards, Axel
-- 
 ,''`.  |  Axel Beckert <[email protected]>, http://people.debian.org/~abe/
: :' :  |  Debian Developer, ftp.ch.debian.org Admin
`. `'   |  1024D: F067 EA27 26B9 C3FC 1486  202E C09E 1D89 9593 0EDE
  `-    |  4096R: 2517 B724 C5F6 CA99 5329  6E61 2FF9 CD59 6126 16B5


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

Reply via email to