diff options
author | Thierry Vignaud <tv@mandriva.org> | 2010-01-21 22:42:24 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mandriva.org> | 2010-01-21 22:42:24 +0000 |
commit | 24ae953089c4b954b78a82ec76d0bb0fd1ec73ae (patch) | |
tree | b9942d0c57f771f373bc2bbc8fc61cc76b97718f /mdkapplet | |
parent | bbb1c616f61a8c570d61bf983dbcd90597542279 (diff) | |
download | mgaonline-24ae953089c4b954b78a82ec76d0bb0fd1ec73ae.tar mgaonline-24ae953089c4b954b78a82ec76d0bb0fd1ec73ae.tar.gz mgaonline-24ae953089c4b954b78a82ec76d0bb0fd1ec73ae.tar.bz2 mgaonline-24ae953089c4b954b78a82ec76d0bb0fd1ec73ae.tar.xz mgaonline-24ae953089c4b954b78a82ec76d0bb0fd1ec73ae.zip |
(real_upgrade) split it out of upgrade()
Diffstat (limited to 'mdkapplet')
-rwxr-xr-x | mdkapplet | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -514,6 +514,10 @@ sub really_confirm_upgrade() { sub upgrade() { return if $mdv_update_pid; return if !confirm_upgrade(); + real_upgrade(); +} + +sub real_upgrade() { $mdv_update_pid = fork_exec('mdkapplet-upgrade-helper', "--new_distro_version=$new_distro->{version}", if_($download_all, "--download-all=$download_dir"), if_($root, "--urpmi-root=$root")); |