summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xmgaapplet-update-checker2
-rwxr-xr-xmgaapplet-upgrade-helper4
2 files changed, 3 insertions, 3 deletions
diff --git a/mgaapplet-update-checker b/mgaapplet-update-checker
index 7a8a6bb8..31ccd8f7 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('urpmi.update', $media, if_($root, "--urpmi-root=$root"))) {
+if (!run_program::run('/usr/binurpmi.update', $media, if_($root, "--urpmi-root=$root"))) {
checker_exit('error_updating') if $will_not_update_media;
}
diff --git a/mgaapplet-upgrade-helper b/mgaapplet-upgrade-helper
index d0e1d8f4..dac61180 100755
--- a/mgaapplet-upgrade-helper
+++ b/mgaapplet-upgrade-helper
@@ -332,10 +332,10 @@ sub fork_gurpmi {
}
sub update_media() {
- run_program::run('urpmi.update', if_($root, '--urpmi-root', $root), '-a');
+ run_program::run('/usr/bin/urpmi.update', if_($root, '--urpmi-root', $root), '-a');
}
sub enable_media {
my ($repos) = @_;
- run_program::run('urpmi.update', if_($root, '--urpmi-root', $root), '--no-ignore', "$repos Release", "$repos Updates");
+ run_program::run('/usr/bin/urpmi.update', if_($root, '--urpmi-root', $root), '--no-ignore', "$repos Release", "$repos Updates");
}