summaryrefslogtreecommitdiffstats
path: root/mgaapplet-update-checker
diff options
context:
space:
mode:
Diffstat (limited to 'mgaapplet-update-checker')
-rwxr-xr-xmgaapplet-update-checker4
1 files changed, 2 insertions, 2 deletions
diff --git a/mgaapplet-update-checker b/mgaapplet-update-checker
index 31ccd8f7..848a3e3e 100755
--- a/mgaapplet-update-checker
+++ b/mgaapplet-update-checker
@@ -52,7 +52,7 @@ checker_exit('locked') if $will_not_update_media;
my $is_it_a_devel_distro = is_it_a_devel_distro();
my $media = $is_it_a_devel_distro ? '-a' : '--update';
-if (!run_program::run('/usr/binurpmi.update', $media, if_($root, "--urpmi-root=$root"))) {
+if (!run_program::run('/usr/bin/urpmi.update', $media, if_($root, "--urpmi-root=$root"))) {
checker_exit('error_updating') if $will_not_update_media;
}
@@ -105,7 +105,7 @@ sub update_backport_media {
return if !@inactive_backport_media;
log::explanations("updating inactive backport media " . join(', ', @inactive_backport_media));
foreach (@inactive_backport_media) {
- run_program::run('urpmi.update', if_($root, "--urpmi-root=$root"), $_);
+ run_program::run('/usr/bin/urpmi.update', if_($root, "--urpmi-root=$root"), $_);
}
}