aboutsummaryrefslogtreecommitdiffstats
path: root/edit-urpm-sources.pl
diff options
context:
space:
mode:
authorGuillaume Cottenceau <gc@mandriva.com>2003-04-17 14:15:00 +0000
committerGuillaume Cottenceau <gc@mandriva.com>2003-04-17 14:15:00 +0000
commite86d4dc215c68104c71e173124d32e678640ae89 (patch)
tree4ab829ecace661ad81c14d4229a9c273e74ab5f4 /edit-urpm-sources.pl
parentee11c56d392c8d5cf4c3705b3ed57fd342da55dc (diff)
downloadrpmdrake-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-xedit-urpm-sources.pl13
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);