Package: quintuple-agent
Version: 1.0.4-2
Severity: minor

The STARTQ var does not make much sense:

,---- /etc/X11/Xsession.d/91quintuple-agent_q-agent
| # This file is sourced by Xsession(5), not executed.
|
| STARTQ=no
| QAGENT=/usr/bin/q-agent
| QAGENTARGS=
|
| if [ -n "$STARTQ" ]; then
|   eval `$QAGENT $QAGENTARG &`
| fi
`----

STARTQ value doesn't really matter what it is, as long as it is not the
empty string. One solution to this may be a conf file in /etc/default and
debconf. This:

,---- /etc/X11/Xsession.d/91quintuple-agent_q-agent
| # This file is sourced by Xsession(5), not executed.
|
| rcf=/etc/default/quintuple-agent
| if [ -f "$rcf" ]; then
|   . $rcf
|
|   if [ -n "$QAGENT_START" ] && [ "$QAGENT_START" = yes ]; then
|     eval `$QAGENT $QAGENTARG &`
|   fi
| fi
`----

,---- /etc/default/quintuple-agent
| QAGENT_STARTQ=no
| QAGENT=/usr/bin/q-agent
| QAGENT_ARGS=
`----

This will give the benefit of not fiddling with files in
/etc/X11/Xsession.d, and making easier to use debconf.

Another way would be to add a "use-quintuple-agent" to
/etc/X11/Xsession.options and follow the pattern in
/etc/X11/Xsession.d/90xfree86-common_ssh-agent, but that would not
give quite as much flexibility.


Cheers,
Cristian

-- System Information:
Debian Release: 3.1
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.4.27
Locale: LANG=C, LC_CTYPE= (charmap=ANSI_X3.4-1968)

Versions of packages quintuple-agent depends on:
ii  libc6                   2.3.2.ds1-20     GNU C Library: Shared libraries an
ii  libcap2                 0.cvs.20010529-4 Support for POSIX.1e capabilities
ii  libglib1.2              1.2.10-9         The GLib library of C routines
ii  libgtk1.2               1.2.10-17        The GIMP Toolkit set of widgets fo
ii  libx11-6                4.3.0.dfsg.1-10  X Window System protocol client li
ii  libxext6                4.3.0.dfsg.1-10  X Window System miscellaneous exte
ii  libxi6                  4.3.0.dfsg.1-10  X Window System Input extension li
ii  xlibs                   4.3.0.dfsg.1-11  X Keyboard Extension (XKB) configu

-- no debconf information


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

Reply via email to