From 24ae953089c4b954b78a82ec76d0bb0fd1ec73ae Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Thu, 21 Jan 2010 22:42:24 +0000 Subject: (real_upgrade) split it out of upgrade() --- mdkapplet | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/mdkapplet b/mdkapplet index 12af7052..63a99f66 100755 --- a/mdkapplet +++ b/mdkapplet @@ -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")); -- cgit v1.2.1