linux-image: Remove various unused variables in maintainer scripts

This commit is contained in:
Ben Hutchings 2016-05-29 19:46:39 +01:00
parent 97c01265fe
commit e55913c12b
4 changed files with 0 additions and 6 deletions

View File

@ -16,7 +16,6 @@ $|=1;
# Predefined values:
my $version = "@abiname@@localversion@";
my $arch = "@arch@";
my $link_in_boot = "";
my $no_symlink = "";
my $do_symlink = "Yes"; # target machine defined
@ -25,7 +24,6 @@ my $mkimage = ""; # command to generate the initrd image
my $use_hard_links = ''; # hardlinks do not work across fs boundaries
my $postinst_hook = ''; #Normally we do not
my $minimal_swap = ''; # Do not swap symlinks
my $package_name = "linux-image-$version";
#known variables
my $image_dest = "/";

View File

@ -24,7 +24,6 @@ my $version = "@abiname@@localversion@";
my $link_in_boot = "";
my $kimage = "@image-stem@";
my $postrm_hook = ''; #Normally we do not
my $package_name = "linux-image-$version";
#known variables
my $image_dest = "/";

View File

@ -10,7 +10,6 @@ $|=1;
my $version = "@abiname@@localversion@";
my $kimage = "@image-stem@";
my $preinst_hook = ''; #Normally we do not
my $package_name = "linux-image-$version";
#known variables
my $realimageloc = "/boot/";

View File

@ -20,12 +20,10 @@ my $realimageloc = "/boot/";
my $CONF_LOC = '/etc/kernel-img.conf';
# Variables used
my $image='';
my $ret=0;
my $seen='';
my $answer='';
my $running = '';
my $WouldInvalidate = 0;
# Ignore all invocations uxcept when called on to remove
exit 0 unless ($ARGV[0] && $ARGV[0] =~ /remove/) ;