tags 547321 + pending thanks Dear maintainer,
I've prepared an NMU for ipcalc (versioned as 0.41-2.1) and uploaded it to DELAYED/12. Please feel free to tell me if I should delay it longer. Regards Christoph -- 9FED 5C6C E206 B70A 5857 70CA 9655 22B9 D49A E731 Debian Developer | Lisp Hacker | CaCert Assurer
diff -u ipcalc-0.41/debian/changelog ipcalc-0.41/debian/changelog --- ipcalc-0.41/debian/changelog +++ ipcalc-0.41/debian/changelog @@ -1,3 +1,10 @@ +ipcalc (0.41-2.1) unstable; urgency=low + + * Non-maintainer upload. + * Handle cases where $TERM is not set (like in cron) as well (Closes: #547321) + + -- Christoph Egger <[email protected]> Mon, 12 Mar 2012 19:04:53 +0100 + ipcalc (0.41-2) unstable; urgency=low * Doesn't activate colours in Emacs (Closes: #479877) diff -u ipcalc-0.41/debian/patches/02_emacs.dpatch ipcalc-0.41/debian/patches/02_emacs.dpatch --- ipcalc-0.41/debian/patches/02_emacs.dpatch +++ ipcalc-0.41/debian/patches/02_emacs.dpatch @@ -30,7 +30,7 @@ + + # Under Emacs, do not use colors by default. The TERM is for older + # Emacs versions. -+ if ( $ENV{'TERM'} =~ /dumb/i or $ENV{'INSIDE_EMACS'} ) { ++ if ( !defined($ENV{'TERM'}) or $ENV{'TERM'} =~ /dumb/i or $ENV{'INSIDE_EMACS'} ) { + $opt_color = 0; + } +

