diff options
-rw-r--r-- | NEWS | 2 | ||||
-rwxr-xr-x | mgaapplet | 3 |
2 files changed, 4 insertions, 1 deletions
@@ -1,3 +1,5 @@ +- handle both MageiaUpdate & MandrivaUpdate + Version 2.77.25 - 13 Mae 2010, Thierry Vignaud - use https protocol instead of http in order to retrieve distro list @@ -686,7 +686,8 @@ sub add_media() { sub installUpdates() { return if $mdv_update_pid; log::explanations(N_("Launching MageiaUpdate\n")); - $mdv_update_pid = fork_exec('MageiaUpdate', '--no-media-update', '--no-confirmation', '--no-splash', + my $program = find { -x "/usr/bin/$_" } qw(MageiaUpdate MandrivaUpdate); + $mdv_update_pid = fork_exec($program, '--no-media-update', '--no-confirmation', '--no-splash', if_($root, "--urpmi-root=$root")); silentCheck(); gtkflush(); } |