summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2008-10-06 12:18:48 +0000
committerThierry Vignaud <tv@mandriva.org>2008-10-06 12:18:48 +0000
commitd9e32adbb51f4330af31332c082cc5f5fa82d63d (patch)
tree997b9aaec8350debe3fade06c1678c881ef9d4bb
parent8498ace40699214c2187f61726f8259f17597d9a (diff)
downloadmgaonline-d9e32adbb51f4330af31332c082cc5f5fa82d63d.tar
mgaonline-d9e32adbb51f4330af31332c082cc5f5fa82d63d.tar.gz
mgaonline-d9e32adbb51f4330af31332c082cc5f5fa82d63d.tar.bz2
mgaonline-d9e32adbb51f4330af31332c082cc5f5fa82d63d.tar.xz
mgaonline-d9e32adbb51f4330af31332c082cc5f5fa82d63d.zip
(fork_gurpmi) split it out of upgrade()
-rwxr-xr-xmdkapplet4
1 files changed, 4 insertions, 0 deletions
diff --git a/mdkapplet b/mdkapplet
index 71d53ae0..5cff4da5 100755
--- a/mdkapplet
+++ b/mdkapplet
@@ -419,6 +419,10 @@ sub upgrade() {
logIt("upgrading the whole system");
# we cannot use installUpdates() as MandrivaUpdate needs the media
# flaged as update (or else, we need to add a new option to MandrivaUpdate):
+ fork_gurpmi();
+}
+
+sub fork_gurpmi {
$mdv_update_pid = fork_exec('gurpmi', '--auto', '--auto-select', '--silent-success', if_($root, "--urpmi-root=$root"));
}