summaryrefslogtreecommitdiffstats
path: root/tools/get-needed-drakx-modules
blob: 019820c0433bd9755d6a46ec1adbaec7bf1fc60b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/usr/bin/perl

use MDK::Common;

my ($rel, $dest, $script) = @ARGV;

$rel =~ s!/?$!!;

foreach (`strace -efile perl -cw -I $rel $script 2>&1`) {
    my ($f) = /^open\("(.*?)",.*\)\s*=\s*\d+$/ or next;
    $f !~ m!/usr/lib/perl5/[^/]*/warnings.pm! or next;
    if (begins_with($f, $rel)) {
	print $f, "\t", $dest . substr($f, length($rel)), "\n";
    } elsif (begins_with($f, '/dev/')) {
	# skip
    } elsif (begins_with($f, '/')) {
	print "$f\n";
    }
}
dalone/po/ca.po?id=2f2093fdc69e6e6d30bb9471e311cc1794df91b8'>2f2093fdc69e6e6d30bb9471e311cc1794df91b8 (patch) tree8ea5cf31c2c033b9174c284e1c56304b05b39500 /perl-install/standalone/po/ca.po parent1dfa428e543aa5b4cbfe1704d0c2bc5d8a71525d (diff)downloaddrakx-2f2093fdc69e6e6d30bb9471e311cc1794df91b8.tar
drakx-2f2093fdc69e6e6d30bb9471e311cc1794df91b8.tar.gz
drakx-2f2093fdc69e6e6d30bb9471e311cc1794df91b8.tar.bz2
drakx-2f2093fdc69e6e6d30bb9471e311cc1794df91b8.tar.xz
drakx-2f2093fdc69e6e6d30bb9471e311cc1794df91b8.zip
(selectInstallClass) fix not offering to upgrade 32 bit installations
(regression introduced by pterjan in r255238 on 2009-03-31: "Don't list installed distros with other archs as ugrading betweenarchs is not supported")
Diffstat (limited to 'perl-install/standalone/po/ca.po')
0 files changed, 0 insertions, 0 deletions