From 16f721a483c2d34a9a7e5e6522ebe9f94a7ba289 Mon Sep 17 00:00:00 2001 From: Colin Guthrie Date: Sun, 13 Oct 2013 11:17:01 +0100 Subject: any: Fix path to urpmi.update (mga#11125) --- perl-install/NEWS | 1 + perl-install/any.pm | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/perl-install/NEWS b/perl-install/NEWS index 3f812b561..29c50eba3 100644 --- a/perl-install/NEWS +++ b/perl-install/NEWS @@ -1,3 +1,4 @@ +- fix path to urpmi.update (so it works without mgaonline installed mga#11125) - wrap more standalone tools in polkit (mga#11125, mga#11418) Version 15.67 - 10 October 2013 diff --git a/perl-install/any.pm b/perl-install/any.pm index ad6f1c0a3..4c3b33d33 100644 --- a/perl-install/any.pm +++ b/perl-install/any.pm @@ -985,7 +985,7 @@ sub urpmi_add_all_media { foreach my $media (qw(Nonfree Tainted)) { $in->do_pkgs->are_installed("*" . lc($media) . "*") or next; foreach my $type (qw(Release Updates)) { - run_program::rooted($::prefix, 'urpmi.update', '--no-ignore', "$media $type"); + run_program::rooted($::prefix, '/usr/libexec/urpmi.update', '--no-ignore', "$media $type"); } } } -- cgit v1.2.1