Sophie

Sophie

distrib > Mageia > 3 > i586 > media > core-release-src > by-pkgid > 20d0b89524ee919d96f8cf186d655f33 > files > 2

alien-8.87-3.mga3.src.rpm

--- Alien/Package/Deb.pm.orig	2012-04-05 20:50:13.000000000 +0300
+++ Alien/Package/Deb.pm	2012-05-29 01:47:28.890887627 +0300
@@ -211,7 +211,9 @@
 	# Note that tar doesn't supply a leading '/', so we have to add that.
 	my @filelist;
 	if ($this->have_dpkg_deb) {
-		@filelist=map { chomp; s:\./::; "/$_" }
+		require MDK::Common;
+		@filelist = grep { !MDK::Common::member($_, qw(/ /usr/ /usr/bin/ /usr/lib/ /usr/share/ /usr/share/doc/ /usr/share/applications/)) }
+			  map { chomp; s:\./::; "/$_" }
 			  $this->runpipe(0, "dpkg-deb --fsys-tarfile '$file' | tar tf -");
 	}
 	else {