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

Maximilian Attems maks at alioth.debian.org
Tue Nov 17 13:00:10 UTC 2009


Author: maks
Date: Tue Nov 17 13:00:05 2009
New Revision: 14644

Log:
nuke unused variable have_conffile

not used anywhere beside postinst.

Modified:
   dists/trunk/linux-2.6/debian/templates/temp.image.plain/postrm
   dists/trunk/linux-2.6/debian/templates/temp.image.plain/preinst
   dists/trunk/linux-2.6/debian/templates/temp.image.plain/prerm

Modified: dists/trunk/linux-2.6/debian/templates/temp.image.plain/postrm
==============================================================================
--- dists/trunk/linux-2.6/debian/templates/temp.image.plain/postrm	Tue Nov 17 10:00:24 2009	(r14643)
+++ dists/trunk/linux-2.6/debian/templates/temp.image.plain/postrm	Tue Nov 17 13:00:05 2009	(r14644)
@@ -66,7 +66,6 @@
 my $rootpartition   = '';
 my $image_dest      = "/";
 my $realimageloc    = "/$image_dir/";
-my $have_conffile   = "";
 my $CONF_LOC        = '/etc/kernel-img.conf';
 my $relative_links = '';
 
@@ -111,7 +110,6 @@
       $postrm_hook     = "$1"  if /postrm_hook\s*=\s*(\S+)/ig;
     }
     close CONF;
-    $have_conffile = "Yes";
   }
 }
 

Modified: dists/trunk/linux-2.6/debian/templates/temp.image.plain/preinst
==============================================================================
--- dists/trunk/linux-2.6/debian/templates/temp.image.plain/preinst	Tue Nov 17 10:00:24 2009	(r14643)
+++ dists/trunk/linux-2.6/debian/templates/temp.image.plain/preinst	Tue Nov 17 13:00:05 2009	(r14644)
@@ -39,7 +39,6 @@
 my $rootpartition   = '';
 my $image_dest      = "/";
 my $realimageloc    = "/$image_dir/";
-my $have_conffile   = "";
 my $CONF_LOC        = '/etc/kernel-img.conf';
 my $relative_links  = '';
 
@@ -88,8 +87,6 @@
       $ramdisk         = "$1"  if /ramdisk\s*=\s*(.+)$/ig;
     }
     close CONF;
-    $have_conffile = "Yes";
-    $have_conffile = "Yes";	# stop perl complaining
   }
 }
 

Modified: dists/trunk/linux-2.6/debian/templates/temp.image.plain/prerm
==============================================================================
--- dists/trunk/linux-2.6/debian/templates/temp.image.plain/prerm	Tue Nov 17 10:00:24 2009	(r14643)
+++ dists/trunk/linux-2.6/debian/templates/temp.image.plain/prerm	Tue Nov 17 13:00:05 2009	(r14644)
@@ -44,7 +44,6 @@
 #known variables
 my $image_dest      = "/";
 my $realimageloc    = "/$image_dir/";
-my $have_conffile   = "";
 my $CONF_LOC        = '/etc/kernel-img.conf';
 my $relative_links = '';
 
@@ -114,7 +113,6 @@
       $prerm_hook      = "$1"  if /prerm_hook\s*=\s*(\S+)/ig;
     }
     close CONF;
-    $have_conffile = "Yes";
   }
 }
 



More information about the Kernel-svn-changes mailing list