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

MàJ ddtc 0.2.1



Bonjour,

Voici quelques corrections :
Description: 
 ddtc       - Perl script to deal with ddts mail
Changes: 
 ddtc (0.2.1) unstable; urgency=low
 .
   * move email address test so configuration dump is displayed even if no
     address is provided
     thanks to Lorenzo Cappelletti for reporting this bug
   * change procmail rule in README.Debian
     thanks to Martin Quinson for these new rules
   * add note in README.Debian
   * add warning in manpage 5 about escaping characters
     thanks to Pierre Machard for reporting this bug

La rustine pour le script est attachée, les fichiers sont à jour :
deb http://nico.bertol.free.fr/debian bertol/fr/  pour votre sources.list
    http://nico.bertol.free.fr/rpm/bertol/        en rpm


Nicolas
-- 
--- ddtc_0.2	Sun Feb 17 00:00:00 2002
+++ ddtc_0.2.1	Sat Feb 23 00:00:00 2002
@@ -7,7 +7,7 @@
 # Constants setting
 #
 
-use constant VERSION   => "0.2";			# script version number
+use constant VERSION   => "0.2.1";			# script version number
 use constant MAIL_DDTS => 'desc@ddtp.debian.org';	# ddts address
 
 #
@@ -140,10 +140,6 @@
 	set_debug (defined $Debug ? $Debug : 1);
 }
 
-# Test whether email address is valid
-suicide "Email address not defined! Define your environment EMAIL variable or use",
-	"\$Mail_addr and/or \$Mail_from in your .ddtc configuration file, see man 5 ddtc." unless ($Mail_addr and $Mail_from);
-
 # Create directories if necessary
 foreach ($Tr_dir, $Bug_dir, $Rev_dir, $Temp_dir) {
 	my @dir=split("/", $_);				# get all subdirs
@@ -1405,6 +1401,10 @@
 		 "version       ".VERSION;
 	debug 4, "command       $_";
 	debug 4, "arguments     ".join(" ", @ARGV) if @ARGV;
+
+	# Test whether email address is valid
+	suicide "Email address not defined! Define your environment EMAIL variable or use",
+		"\$Mail_addr and/or \$Mail_from in your .ddtc configuration file, see man 5 ddtc." unless ($Mail_addr and $Mail_from);
 
 	if (defined $commands{$_}) {
 		&{$commands{$_}};				# execute known command

Reply to: