summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2008-10-14 00:38:22 +0000
committerThierry Vignaud <tv@mandriva.org>2008-10-14 00:38:22 +0000
commitcb635bd55418979cd7f62946cce4f03336e7a772 (patch)
treefca2bd3ca3f997c7d0093f94b13944c26d125376
parenta35926e4d6bc56652593a5d91e56c68419244521 (diff)
downloadmgaonline-cb635bd55418979cd7f62946cce4f03336e7a772.tar
mgaonline-cb635bd55418979cd7f62946cce4f03336e7a772.tar.gz
mgaonline-cb635bd55418979cd7f62946cce4f03336e7a772.tar.bz2
mgaonline-cb635bd55418979cd7f62946cce4f03336e7a772.tar.xz
mgaonline-cb635bd55418979cd7f62946cce4f03336e7a772.zip
(upgrade) run helper with --urpmi-root option if needed
-rwxr-xr-xmdkapplet2
1 files changed, 1 insertions, 1 deletions
diff --git a/mdkapplet b/mdkapplet
index 0a916941..c11ded72 100755
--- a/mdkapplet
+++ b/mdkapplet
@@ -392,7 +392,7 @@ sub upgrade() {
$already_in_upgrade = 1;
my $_a = before_leaving { undef $already_in_upgrade };
return if !confirm_upgrade();
- fork_exec('mdkapplet-upgrade-helper', "--new_distro_version=$new_distro->{version}");
+ fork_exec('mdkapplet-upgrade-helper', "--new_distro_version=$new_distro->{version}", if_($root, "--urpmi-root=$root"));
}
sub add_media() {