diff options
author | Guillaume Cottenceau <gc@mandriva.com> | 2003-04-17 14:15:00 +0000 |
---|---|---|
committer | Guillaume Cottenceau <gc@mandriva.com> | 2003-04-17 14:15:00 +0000 |
commit | e86d4dc215c68104c71e173124d32e678640ae89 (patch) | |
tree | 4ab829ecace661ad81c14d4229a9c273e74ab5f4 /edit-urpm-sources.pl | |
parent | ee11c56d392c8d5cf4c3705b3ed57fd342da55dc (diff) | |
download | rpmdrake-e86d4dc215c68104c71e173124d32e678640ae89.tar rpmdrake-e86d4dc215c68104c71e173124d32e678640ae89.tar.gz rpmdrake-e86d4dc215c68104c71e173124d32e678640ae89.tar.bz2 rpmdrake-e86d4dc215c68104c71e173124d32e678640ae89.tar.xz rpmdrake-e86d4dc215c68104c71e173124d32e678640ae89.zip |
report more urpmi errors in the GUI
Diffstat (limited to 'edit-urpm-sources.pl')
-rwxr-xr-x | edit-urpm-sources.pl | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/edit-urpm-sources.pl b/edit-urpm-sources.pl index f14ea602..5af94d02 100755 --- a/edit-urpm-sources.pl +++ b/edit-urpm-sources.pl @@ -32,19 +32,6 @@ use rpmdrake; $::isStandalone = 1; -sub add_medium_and_check { - my ($urpm, $msg, $options) = splice @_, 0, 3; - standalone::explanations("Adding medium @_"); - my $wait = wait_msg($msg); - $urpm->add_medium(@_); - update_sources($urpm, %$options, noclean => 1); - remove_wait_msg($wait); - my ($medium) = grep { $_->{name} eq $_[0] } @{$urpm->{media}}; - $medium or interactive_msg('rpmdrake', N("Unable to create medium.")); - $medium->{modified} and interactive_msg('rpmdrake', N("Unable to update medium; it will be automatically disabled.")); - $urpm->write_config; -} - my $urpm; my ($mainw, $remove, $edit, $list_tv); |