Hi Franck Thanks a lot for the patch. Applied and uploaded. What I think? I think you do a great job. :-)
Best regards, // Ola On Wed, Apr 01, 2009 at 10:04:06PM +0200, Franck Joncourt wrote: > Package: debarchiver > Version: 0.9.2 > Severity: normal > > Hi Ola, > > I was using debarchiver and I encountered a problem with the mailformat > variable. > > At the beginning of debarchiver I had set: > > $mailformat = "sendmail" > > and thus if people do not define $usermailcmd in their config file, they > get the following error: > > -- > The mailformat option must be used in conjunction to the mailcmd option > -- > > due to this: > > [quote=debarchiver] > if ( ($mailformat ne "") && ($usermailcmd eq "") ) { > errormsg... > > } elsif ($mailformat eq "sendmail") { > @mailsearch = ("sendmail", "mail"); > > } elsif ($mailformat eq "mail") { > @mailsearch = ("mail", "sendmail"); > > } else { > error_msg... > } > [/quote] > > I have enclosed a patch which should fix the problem. > > What do you think? > > Sorry :( > > -- > Franck Joncourt > http://debian.org - http://smhteam.info/wiki/ -- --------------------- Ola Lundqvist --------------------------- / o...@debian.org Annebergsslingan 37 \ | o...@inguza.com 654 65 KARLSTAD | | http://inguza.com/ +46 (0)70-332 1551 | \ gpg/f.p.: 7090 A92B 18FE 7994 0C36 4FE4 18A1 B1CF 0FE5 3DD9 / --------------------------------------------------------------- -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org