Your message dated Wed, 27 Sep 2006 17:32:04 -0700
with message-id <[EMAIL PROTECTED]>
and subject line Bug#389497: fixed in lsb 3.1-16
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--- Begin Message ---
Package: lsb-base
Version: 3.1-15
Severity: minor

There is a small typo in the log_use_fancy_output() function:

--- init-functions.orig 2006-08-25 10:06:01.000000000 +1000
+++ init-functions      2006-09-26 10:18:33.000000000 +1000
@@ -133,7 +133,7 @@
 log_use_fancy_output () {
     TPUT=/usr/bin/tput
     EXPR=/usr/bin/expr
-    if [ FANCYTTY = 0 ]; then
+    if [ "x$FANCYTTY" = 0 ]; then
         false
     fi
     if [ "x$TERM" != "xdumb" ] && [ -x $TPUT ] && [ -x $EXPR ] && $TPUT hpa 60 
>/dev/null 2>&1 && $TPUT setaf 1 >/dev/null 2>&1; then

You might consider an alternate fix, which avoids re-testing for a
colour tty each time:

--- init-functions.orig 2006-08-25 10:06:01.000000000 +1000
+++ init-functions      2006-09-26 10:27:59.000000000 +1000
@@ -133,16 +133,17 @@
 log_use_fancy_output () {
     TPUT=/usr/bin/tput
     EXPR=/usr/bin/expr
-    if [ FANCYTTY = 0 ]; then
-        false
-    fi
-    if [ "x$TERM" != "xdumb" ] && [ -x $TPUT ] && [ -x $EXPR ] && $TPUT hpa 60 
>/dev/null 2>&1 && $TPUT setaf 1 >/dev/null 2>&1; then
-        FANCYTTY=1
-        true
-    else
-        FANCYTTY=0
-        false
-    fi
+    if [ -z $FANCYTTY ]; then
+       if [ "x$TERM" != "xdumb" ] && [ -x $TPUT ] && [ -x $EXPR ] && $TPUT hpa 
60 >/dev/null 2>&1 && $TPUT setaf 1 >/dev/null 2>&1; then
+           FANCYTTY=1
+       else
+           FANCYTTY=0
+       fi
+    fi
+    case "$FANCYTTY" in
+       1|Y|yes|true)   true;;
+       *)              false;;
+    esac
 }
 
 log_success_msg () {


--- End Message ---
--- Begin Message ---
Source: lsb
Source-Version: 3.1-16

We believe that the bug you reported is fixed in the latest version of
lsb, which is due to be installed in the Debian FTP archive:

lsb-base_3.1-16_all.deb
  to pool/main/l/lsb/lsb-base_3.1-16_all.deb
lsb-core_3.1-16_amd64.deb
  to pool/main/l/lsb/lsb-core_3.1-16_amd64.deb
lsb-cxx_3.1-16_amd64.deb
  to pool/main/l/lsb/lsb-cxx_3.1-16_amd64.deb
lsb-desktop_3.1-16_amd64.deb
  to pool/main/l/lsb/lsb-desktop_3.1-16_amd64.deb
lsb-graphics_3.1-16_amd64.deb
  to pool/main/l/lsb/lsb-graphics_3.1-16_amd64.deb
lsb-qt4_3.1-16_amd64.deb
  to pool/main/l/lsb/lsb-qt4_3.1-16_amd64.deb
lsb-release_3.1-16_all.deb
  to pool/main/l/lsb/lsb-release_3.1-16_all.deb
lsb_3.1-16.dsc
  to pool/main/l/lsb/lsb_3.1-16.dsc
lsb_3.1-16.tar.gz
  to pool/main/l/lsb/lsb_3.1-16.tar.gz
lsb_3.1-16_all.deb
  to pool/main/l/lsb/lsb_3.1-16_all.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [EMAIL PROTECTED],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Chris Lawrence <[EMAIL PROTECTED]> (supplier of updated lsb package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [EMAIL PROTECTED])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.7
Date: Wed, 27 Sep 2006 18:10:12 -0500
Source: lsb
Binary: lsb-desktop lsb-core lsb-cxx lsb-base lsb-release lsb-qt4 lsb 
lsb-graphics
Architecture: source all amd64
Version: 3.1-16
Distribution: unstable
Urgency: low
Maintainer: Chris Lawrence <[EMAIL PROTECTED]>
Changed-By: Chris Lawrence <[EMAIL PROTECTED]>
Description: 
 lsb        - Linux Standard Base 3.1 support package
 lsb-base   - Linux Standard Base 3.1 init script functionality
 lsb-core   - Linux Standard Base 3.1 core support package
 lsb-cxx    - Linux Standard Base 3.1 C++ support package
 lsb-desktop - Linux Standard Base 3.1 Desktop support package
 lsb-graphics - Linux Standard Base 3.1 graphics support package
 lsb-qt4    - Linux Standard Base 3.1 Qt4 support package
 lsb-release - Linux Standard Base version reporting utility
Closes: 384814 389380 389403 389497
Changes: 
 lsb (3.1-16) unstable; urgency=low
 .
   * Improve documentation of killproc().  (Closes: #384814)
   * Also improve documentation of pidofproc() in the same vein.
   * Move lsb_release to /usr.  (Closes: #389380)
   * Modify log_use_fancy_output() to only test once for a fancy TTY; patch
     by Brendan O'Dea.  (Closes: #389497)
   * Fix semantics of killproc() to behave properly when $sig is specified.
     (Closes: #389403)
Files: 
 2ad689e75be2a8e221f55c72788072df 672 misc extra lsb_3.1-16.dsc
 1df8660369aac847843096b0c66e0ce8 39774 misc extra lsb_3.1-16.tar.gz
 b7bb60b6435ef3adfd5e9409b4895728 10306 misc extra lsb_3.1-16_all.deb
 a23d0a4dc5d5da1c8442be7bcf6ee2d1 15588 misc required lsb-base_3.1-16_all.deb
 a00bf95a0609c4ee99e1855115b92ece 14788 misc extra lsb-release_3.1-16_all.deb
 ba8a051c5675bd34bdd0838a46a69959 31278 misc extra lsb-core_3.1-16_amd64.deb
 6f0eaeba48c68a119e59cc2e393e072c 10364 misc extra lsb-graphics_3.1-16_amd64.deb
 2bc077f392ecc33b33cdd44c035eaa01 10332 misc extra lsb-cxx_3.1-16_amd64.deb
 95e9bdce9cf373561812a3e7734d2a1d 10412 misc extra lsb-desktop_3.1-16_amd64.deb
 8f94b0555262d2ebdd59a13780905697 10314 misc extra lsb-qt4_3.1-16_amd64.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)

iD8DBQFFGwVE2wQKE6PXubwRAmhaAJ9dn1MA6gw+gQngBn7pSxDN72HargCdHy0o
vM2jr1m7jAKBMs7ry0Vi5ZA=
=nTJd
-----END PGP SIGNATURE-----


--- End Message ---

Reply via email to