[kernel] r19733 - dists/trunk/linux-base/debian

Ben Hutchings benh at alioth.debian.org
Tue Jan 15 13:13:51 UTC 2013


Author: benh
Date: Tue Jan 15 13:13:50 2013
New Revision: 19733

Log:
debian/postinst: When checking which configuration files are present, treat ENOTDIR like ENOENT (Closes: #698203)

Modified:
   dists/trunk/linux-base/debian/changelog
   dists/trunk/linux-base/debian/postinst

Modified: dists/trunk/linux-base/debian/changelog
==============================================================================
--- dists/trunk/linux-base/debian/changelog	Mon Jan 14 22:10:57 2013	(r19732)
+++ dists/trunk/linux-base/debian/changelog	Tue Jan 15 13:13:50 2013	(r19733)
@@ -18,6 +18,8 @@
     - Brazilian Portugese (Adriano Rafael Gomes) (Closes: #686717)
     - Japanese (Nobuhiro Iwamatsu) (Closes: #686720)
     - Spanish (Omar Campagne) (Closes: #686748)
+  * debian/postinst: When checking which configuration files are present,
+    treat ENOTDIR like ENOENT (Closes: #698203)
 
  -- Ben Hutchings <ben at decadent.org.uk>  Tue, 01 May 2012 01:54:46 +0100
 

Modified: dists/trunk/linux-base/debian/postinst
==============================================================================
--- dists/trunk/linux-base/debian/postinst	Mon Jan 14 22:10:57 2013	(r19732)
+++ dists/trunk/linux-base/debian/postinst	Tue Jan 15 13:13:50 2013	(r19733)
@@ -1171,7 +1171,7 @@
 	}
 	my $file = new FileHandle($path, 'r');
 	if (!defined($file)) {
-	    if ($! == POSIX::ENOENT) {
+	    if ($! == POSIX::ENOENT || $! == POSIX::ENOTDIR) {
 		next;
 	    }
 	    die "$!";



More information about the Kernel-svn-changes mailing list