summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2010-01-27 17:25:48 +0000
committerThierry Vignaud <tv@mandriva.org>2010-01-27 17:25:48 +0000
commit30a82004ea7f8aaca29a2d30d096a67551f6e240 (patch)
tree4d5a24a380431224020c1ab336f394374cccbd1e
parent874b3eb01ebdbc78a8d1e652dd355a941c0283d5 (diff)
downloadmgaonline-30a82004ea7f8aaca29a2d30d096a67551f6e240.tar
mgaonline-30a82004ea7f8aaca29a2d30d096a67551f6e240.tar.gz
mgaonline-30a82004ea7f8aaca29a2d30d096a67551f6e240.tar.bz2
mgaonline-30a82004ea7f8aaca29a2d30d096a67551f6e240.tar.xz
mgaonline-30a82004ea7f8aaca29a2d30d096a67551f6e240.zip
(get_extended_maintenance,real_upgrade) pass --testing if needed
-rwxr-xr-xmdkapplet2
1 files changed, 2 insertions, 0 deletions
diff --git a/mdkapplet b/mdkapplet
index 80aee539..0f6b4c97 100755
--- a/mdkapplet
+++ b/mdkapplet
@@ -548,6 +548,7 @@ sub no_more_supported() {
sub get_extended_maintenance() {
$mdv_update_pid = fork_exec('mdkapplet-extended-maintenance-helper', $product_id->{version},
+ if_($::testing, '--testing'),
if_($download_all, "--download-all=$download_dir"),
if_($root, "--urpmi-root=$root"));
}
@@ -597,6 +598,7 @@ sub upgrade() {
sub real_upgrade() {
$mdv_update_pid = fork_exec('mdkapplet-upgrade-helper', "--new_distro_version=$new_distro->{version}",
+ if_($::testing, '--testing'),
if_($download_all, "--download-all=$download_dir"),
if_($root, "--urpmi-root=$root"));
}