The following commit has been merged in the infra-513663 branch: commit feef9a73e4522bdb56b374b5a43cd69cfe54b1e1 Author: Niels Thykier <ni...@thykier.net> Date: Thu Jan 6 22:13:41 2011 +0100
delete_lab_entry should always succeed if the entry has already been deleted. diff --git a/lib/Lab/Package.pm b/lib/Lab/Package.pm index d411b08..8240f18 100644 --- a/lib/Lab/Package.pm +++ b/lib/Lab/Package.pm @@ -136,6 +136,7 @@ value if successful. sub delete_lab_entry { my ($self) = @_; my $basedir = $self->{base_dir}; + return 1 if( ! -e $basedir); debug_msg(1, "Removing package in lab ..."); unless(delete_dir($basedir)) { warning("cannot remove directory $basedir: $!"); -- Debian package checker -- To UNSUBSCRIBE, email to debian-lint-maint-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/e1pazbw-00037q...@alioth.debian.org