summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xmdkapplet4
1 files changed, 4 insertions, 0 deletions
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"));