diff options
Diffstat (limited to 'rpmdrake')
-rwxr-xr-x | rpmdrake | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -34,6 +34,7 @@ BEGIN { #- we want to run this code before the Gtk->init of the use-my_gtk --media=medium1,.. limit to given media --pkg-sel=pkg1,.. preselect these packages --pkg-nosel=pkg1,.. show only these packages + --no-media-update don't update media at startup ), $basename->($0); exit 0; }; @@ -1184,7 +1185,7 @@ sub get_installable_pkgs { my %update_descr; my @update_medias; - if ($updates) { + if ($updates && !$options{'no-media-update'}) { my $urpm = urpm->new; $urpm->configure; $urpm->{fatal} = sub { |