diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2006-11-20 10:48:48 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2006-11-20 10:48:48 +0000 |
commit | d76557c69f2494ced405080980590f9e05a0ff2d (patch) | |
tree | 4ae90b577bb1b1adc4a116f7f882c9b91aae9157 /urpm.pm | |
parent | 856fdb0c7c9981f74646253c92042dfede8fd015 (diff) | |
download | urpmi-d76557c69f2494ced405080980590f9e05a0ff2d.tar urpmi-d76557c69f2494ced405080980590f9e05a0ff2d.tar.gz urpmi-d76557c69f2494ced405080980590f9e05a0ff2d.tar.bz2 urpmi-d76557c69f2494ced405080980590f9e05a0ff2d.tar.xz urpmi-d76557c69f2494ced405080980590f9e05a0ff2d.zip |
move some things to new module urpm::bug_report
Diffstat (limited to 'urpm.pm')
-rw-r--r-- | urpm.pm | 18 |
1 files changed, 0 insertions, 18 deletions
@@ -741,24 +741,6 @@ sub configure { }, ); } - if ($options{bug}) { - #- and a dump of rpmdb itself as synthesis file. - my $db = db_open_or_die($urpm, $options{root}); - my $sig_handler = sub { undef $db; exit 3 }; - local $SIG{INT} = $sig_handler; - local $SIG{QUIT} = $sig_handler; - - open my $rpmdb, "| " . ($ENV{LD_LOADER} || '') . " gzip -9 >'$options{bug}/rpmdb.cz'" - or $urpm->syserror("Can't fork", "gzip"); - $db->traverse(sub { - my ($p) = @_; - #- this is not right but may be enough. - my $files = join '@', grep { exists($urpm->{provides}{$_}) } $p->files; - $p->pack_header; - $p->build_info(fileno $rpmdb, $files); - }); - close $rpmdb; - } } #- add a new medium, sync the config file accordingly. |