The following commit has been merged in the master branch:
commit ebc03a591841ada03ff121608e8437c193fa8cfd
Author: Peter Palfrader <[email protected]>
Date: Sat Feb 7 22:39:13 2009 +0000
No point in checking if $dir exists and is a dir if we check if $dir/log is
a file in the next clause
Signed-off-by: Frank Lichtenheld <[email protected]>
diff --git a/bin/extract_files b/bin/extract_files
index 875b7de..269078c 100755
--- a/bin/extract_files
+++ b/bin/extract_files
@@ -234,7 +234,7 @@ sub to_update {
if ($config_data->{structure} == PKGPOOL) {
my $dir = "$target/".pkg_pool_directory( $pkg_data );
- if (!$force && -d $dir && -f "$dir/log") {
+ if (!$force && -f "$dir/log") {
(utime(undef,undef,"$dir/log") == 1)
or do_warning( "touch of $dir/log failed" );
return 0;
--
APT Archive Web-Frontend (Alioth repository)
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]