gnats-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Changes to gnats/debian/scripts/addmail


From: Milan Zamazal
Subject: Changes to gnats/debian/scripts/addmail
Date: Sun, 03 Mar 2002 15:12:30 -0500

Index: gnats/debian/scripts/addmail
diff -c gnats/debian/scripts/addmail:1.2 gnats/debian/scripts/addmail:1.3
*** gnats/debian/scripts/addmail:1.2    Sun Dec 23 15:20:15 2001
--- gnats/debian/scripts/addmail        Sun Mar  3 15:12:29 2002
***************
*** 14,22 ****
    #
  
    EXIM=$(dpkg -l exim | protect grep -c '^.i')
!   EXIMCONF=/etc/exim.conf
  
!   if [ $EXIM -gt 0 ] && [ -f $EXIMCONF ]; then
      if [ $(grep -c '^[ \t]*user[ \t]*=' $EXIMCONF) -eq 0 ]; then
        LINES=$(grep '^[ \t]*#[ \t]*user[ \t]*=' $EXIMCONF)
        if [ -n "$LINES" ]; then
--- 14,27 ----
    #
  
    EXIM=$(dpkg -l exim | protect grep -c '^.i')
!   for F in /etc/exim/exim.conf /etc/exim.conf; do
!     if [ -f $F ]; then
!       EXIMCONF=$F
!       break
!     fi
!   done
  
!   if [ $EXIM -gt 0 ] && [ -n "$EXIMCONF" ]; then
      if [ $(grep -c '^[ \t]*user[ \t]*=' $EXIMCONF) -eq 0 ]; then
        LINES=$(grep '^[ \t]*#[ \t]*user[ \t]*=' $EXIMCONF)
        if [ -n "$LINES" ]; then



reply via email to

[Prev in Thread] Current Thread [Next in Thread]