diff options
author | Thierry Vignaud <tv@mandriva.org> | 2007-08-23 13:57:38 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mandriva.org> | 2007-08-23 13:57:38 +0000 |
commit | cb6b1b619890103e719b4920d7a1e4b6dab976cb (patch) | |
tree | 853ebe5b69aa9c52a6f896b2b3b7589e418e12ff /Rpmdrake/pkg.pm | |
parent | fb5ba202daea01261ea503c46106d8e3364c3e32 (diff) | |
download | rpmdrake-cb6b1b619890103e719b4920d7a1e4b6dab976cb.tar rpmdrake-cb6b1b619890103e719b4920d7a1e4b6dab976cb.tar.gz rpmdrake-cb6b1b619890103e719b4920d7a1e4b6dab976cb.tar.bz2 rpmdrake-cb6b1b619890103e719b4920d7a1e4b6dab976cb.tar.xz rpmdrake-cb6b1b619890103e719b4920d7a1e4b6dab976cb.zip |
new option --justdb (new perl-URPM 1.76 & urpmi 4.10.6)
Diffstat (limited to 'Rpmdrake/pkg.pm')
-rwxr-xr-x | Rpmdrake/pkg.pm | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Rpmdrake/pkg.pm b/Rpmdrake/pkg.pm index cea3a0aa..bd8abe0f 100755 --- a/Rpmdrake/pkg.pm +++ b/Rpmdrake/pkg.pm @@ -235,6 +235,8 @@ sub open_urpmi_db() { urpm::set_files($urpm, $::options{'urpmi-root'}->[0]) if $::options{'urpmi-root'}->[0]; urpm::args::set_root($urpm, $::options{'rpm-root'}->[0]) if $::options{'rpm-root'}->[0]; + $urpm::args::options{justdb} = $::options{justdb}; + $urpm->{fatal} = sub { $error_happened = 1; interactive_msg(N("Fatal error"), |