[kernel] r17574 - dists/trunk/linux-2.6/debian/templates/temp.image.plain

Ben Hutchings benh at alioth.debian.org
Thu Jun 2 00:39:45 UTC 2011


Author: benh
Date: Thu Jun  2 00:39:44 2011
New Revision: 17574

Log:
Fix incorrect variable name in version comparison

This was introduced by the previous change.

Thanks to Stefan Lippers-Hollmann for spotting this.

Modified:
   dists/trunk/linux-2.6/debian/templates/temp.image.plain/postinst

Modified: dists/trunk/linux-2.6/debian/templates/temp.image.plain/postinst
==============================================================================
--- dists/trunk/linux-2.6/debian/templates/temp.image.plain/postinst	Wed Jun  1 15:57:42 2011	(r17573)
+++ dists/trunk/linux-2.6/debian/templates/temp.image.plain/postinst	Thu Jun  2 00:39:44 2011	(r17574)
@@ -629,7 +629,7 @@
     }
     (undef, undef, my $running_version) = POSIX::uname();
 
-    if (version_code($new_version) > version_code($running_version)) {
+    if (version_code($version) > version_code($running_version)) {
       my $missing = '';
       my %module_paths;
       open(DEP, "<$modules_base/$version/modules.dep") or return;



More information about the Kernel-svn-changes mailing list