summaryrefslogtreecommitdiffstats
path: root/mgaapplet-update-checker
diff options
context:
space:
mode:
authorPapoteur <papoteur@mageia.org>2023-10-14 13:56:02 +0200
committerPapoteur <papoteur@mageia.org>2023-10-14 13:56:02 +0200
commitf188abb7f829632af6dc2189bb3a02c5efe7f61e (patch)
tree08335fa4802f1a69a34150015011cbd850e5284a /mgaapplet-update-checker
parent142f3488988b4ad6bda4e60892d21883a242bcd0 (diff)
downloadmgaonline-f188abb7f829632af6dc2189bb3a02c5efe7f61e.tar
mgaonline-f188abb7f829632af6dc2189bb3a02c5efe7f61e.tar.gz
mgaonline-f188abb7f829632af6dc2189bb3a02c5efe7f61e.tar.bz2
mgaonline-f188abb7f829632af6dc2189bb3a02c5efe7f61e.tar.xz
mgaonline-f188abb7f829632af6dc2189bb3a02c5efe7f61e.zip
Fix typo
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"), $_);
}
}