diff options
author | Papoteur <papoteur@mageia.org> | 2023-10-14 13:56:02 +0200 |
---|---|---|
committer | Papoteur <papoteur@mageia.org> | 2023-10-14 13:56:02 +0200 |
commit | f188abb7f829632af6dc2189bb3a02c5efe7f61e (patch) | |
tree | 08335fa4802f1a69a34150015011cbd850e5284a /mgaapplet-update-checker | |
parent | 142f3488988b4ad6bda4e60892d21883a242bcd0 (diff) | |
download | mgaonline-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-x | mgaapplet-update-checker | 4 |
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"), $_); } } |