Remove last vestige of /usr/doc transition from linux-image prerm script

svn path=/dists/trunk/linux-2.6/; revision=18618
This commit is contained in:
Ben Hutchings 2012-01-24 06:40:12 +00:00
parent 6030fffa97
commit 38e3c925d3
2 changed files with 1 additions and 6 deletions

1
debian/changelog vendored
View File

@ -4,6 +4,7 @@ linux-2.6 (3.2.1-3) UNRELEASED; urgency=low
* Stop changing 'build' and 'source' symlinks in linux-image maintainer
scripts; these symlinks now belong to the linux-headers packages
* Remove unused configuration variables from linux-image maintainer scripts
* Remove last vestige of /usr/doc transition from linux-image prerm script
-- Ben Hutchings <ben@decadent.org.uk> Tue, 24 Jan 2012 06:19:55 +0000

View File

@ -26,12 +26,6 @@ my $answer='';
my $running = '';
my $WouldInvalidate = 0;
if ($ARGV[0] && ($ARGV[0] =~ /remove/ || $ARGV[0] =~ /upgrade/)) {
if (-l "/usr/doc/linux-image-$version") {
unlink "/usr/doc/linux-image-$version";
}
}
# Ignore all invocations uxcept when called on to remove
exit 0 unless ($ARGV[0] && $ARGV[0] =~ /remove/) ;