/[packages]/cauldron/alien/current/SOURCES/alien_8.74-do-not-own-sys-directories.diff
ViewVC logotype

Contents of /cauldron/alien/current/SOURCES/alien_8.74-do-not-own-sys-directories.diff

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1243 - (show annotations) (download)
Sat Jan 8 22:43:33 2011 UTC (13 years, 3 months ago) by kharec
File size: 600 byte(s)
imported package alien
1 --- ./Alien/Package/Deb.pm.tv 2009-05-13 16:08:03.000000000 +0200
2 +++ ./Alien/Package/Deb.pm 2009-05-13 16:16:41.000000000 +0200
3 @@ -211,7 +211,9 @@
4 # Note that tar doesn't supply a leading '/', so we have to add that.
5 my @filelist;
6 if ($this->have_dpkg_deb) {
7 - @filelist=map { chomp; s:\./::; "/$_" }
8 + require MDK::Common;
9 + @filelist = grep { !MDK::Common::member($_, qw(/ /usr/ /usr/bin/ /usr/lib/ /usr/share/ /usr/share/doc/ /usr/share/applications/)) }
10 + map { chomp; s:\./::; "/$_" }
11 $this->runpipe(0, "dpkg-deb --fsys-tarfile $file | tar tf -");
12 }
13 else {

  ViewVC Help
Powered by ViewVC 1.1.30