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:
parent
6030fffa97
commit
38e3c925d3
|
@ -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
|
||||
|
||||
|
|
|
@ -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/) ;
|
||||
|
||||
|
|
Loading…
Reference in New Issue