summaryrefslogtreecommitdiffstats
path: root/mgaapplet-update-checker
diff options
context:
space:
mode:
authorPapoteur <papoteur@mageia.org>2023-10-13 08:23:40 +0200
committerPapoteur <papoteur@mageia.org>2023-10-13 08:23:40 +0200
commit91243db8eebb41f6a3dfa03b05b979b2fe237fc9 (patch)
tree4ad36a209df902bcd83f7497817845b839291320 /mgaapplet-update-checker
parent71f37c13ed6e048475dae21823b3f52f651d6293 (diff)
downloadmgaonline-91243db8eebb41f6a3dfa03b05b979b2fe237fc9.tar
mgaonline-91243db8eebb41f6a3dfa03b05b979b2fe237fc9.tar.gz
mgaonline-91243db8eebb41f6a3dfa03b05b979b2fe237fc9.tar.bz2
mgaonline-91243db8eebb41f6a3dfa03b05b979b2fe237fc9.tar.xz
mgaonline-91243db8eebb41f6a3dfa03b05b979b2fe237fc9.zip
- don't rely on PATH to choose urpmi.update in sbin or bin (mga#32354)
Diffstat (limited to 'mgaapplet-update-checker')
-rwxr-xr-xmgaapplet-update-checker2
1 files changed, 1 insertions, 1 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;
}