summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
authorColin Guthrie <colin@mageia.org>2013-10-13 11:17:01 +0100
committerColin Guthrie <colin@mageia.org>2013-10-13 11:17:01 +0100
commit16f721a483c2d34a9a7e5e6522ebe9f94a7ba289 (patch)
tree2688e22181db2df203291101f036101cdea35429 /perl-install
parentdbd1542bd8d8a58ac8a6fb19db2ea96270ff67ba (diff)
downloaddrakx-16f721a483c2d34a9a7e5e6522ebe9f94a7ba289.tar
drakx-16f721a483c2d34a9a7e5e6522ebe9f94a7ba289.tar.gz
drakx-16f721a483c2d34a9a7e5e6522ebe9f94a7ba289.tar.bz2
drakx-16f721a483c2d34a9a7e5e6522ebe9f94a7ba289.tar.xz
drakx-16f721a483c2d34a9a7e5e6522ebe9f94a7ba289.zip
any: Fix path to urpmi.update (mga#11125)
Diffstat (limited to 'perl-install')
-rw-r--r--perl-install/NEWS1
-rw-r--r--perl-install/any.pm2
2 files changed, 2 insertions, 1 deletions
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");
}
}
}