From b64617d76d854e4c49fe91ed85354f9d937f4e2e Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Wed, 7 Mar 2007 16:38:49 +0000 Subject: (easy_add_callback) fix crash when adding sources on startup (#29252) --- Rpmdrake/edit_urpm_sources.pm | 1 + 1 file changed, 1 insertion(+) (limited to 'Rpmdrake/edit_urpm_sources.pm') diff --git a/Rpmdrake/edit_urpm_sources.pm b/Rpmdrake/edit_urpm_sources.pm index 35f18412..d631f4f7 100755 --- a/Rpmdrake/edit_urpm_sources.pm +++ b/Rpmdrake/edit_urpm_sources.pm @@ -71,6 +71,7 @@ sub remove_row { sub easy_add_callback() { #- cooker and community don't have update sources + $urpm ||= urpm->new; # when called on early init by rpmdrake my $want_base_distro = distro_type(0) eq 'updates' ? interactive_msg( N("Choose media type"), N("This step enables you to add sources from a Mandriva Linux web or FTP mirror. -- cgit v1.2.1