Author: guillem
Date: 2007-05-14 21:09:10 +0000 (Mon, 14 May 2007)
New Revision: 769
Modified:
trunk/ChangeLog
trunk/debian/changelog
trunk/scripts/dpkg-divert.pl
Log:
Fix dpkg-divert to work again w/o specifying the --divert and --package
options. Closes: #423864
Modified: trunk/ChangeLog
===================================================================
--- trunk/ChangeLog 2007-05-13 05:30:09 UTC (rev 768)
+++ trunk/ChangeLog 2007-05-14 21:09:10 UTC (rev 769)
@@ -1,3 +1,8 @@
+2007-05-14 Guillem Jover <[EMAIL PROTECTED]>
+
+ * scripts/dpkg-divert.pl ($divertto, $package): Initialize to undef
+ instead of an empty string.
+
2007-05-13 Guillem Jover <[EMAIL PROTECTED]>
* scripts/controllib.pl (debarch_eq): Return 0 if
Modified: trunk/debian/changelog
===================================================================
--- trunk/debian/changelog 2007-05-13 05:30:09 UTC (rev 768)
+++ trunk/debian/changelog 2007-05-14 21:09:10 UTC (rev 769)
@@ -8,6 +8,8 @@
deb-shlibs.5 in dpkg-dev.
* Fix deb-substvars.5 section to match reality.
* Refactor update-alternatives.
+ * Fix dpkg-divert to work again w/o specifying the --divert and --package
+ options. Closes: #423864
[ Updated dpkg-dev translations ]
* French (Frédéric Bothamy). Closes: #423392
Modified: trunk/scripts/dpkg-divert.pl
===================================================================
--- trunk/scripts/dpkg-divert.pl 2007-05-13 05:30:09 UTC (rev 768)
+++ trunk/scripts/dpkg-divert.pl 2007-05-14 21:09:10 UTC (rev 769)
@@ -60,8 +60,8 @@
my $dorename = 0;
my $verbose = 1;
my $mode = '';
-my $package = '';
-my $divertto = '';
+my $package = undef;
+my $divertto = undef;
my @contest;
my @altname;
my @package;
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]