summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2008-10-06 16:16:58 +0000
committerThierry Vignaud <tv@mandriva.org>2008-10-06 16:16:58 +0000
commitf8cc2873127dce89e948591cc4f6d2cfe9ab826b (patch)
treed3d22ff110541b327a81c0bb29f397e15c3e4e23
parent1b2da9d54153bb24022a3de5632b7aabb0cc0955 (diff)
downloadmgaonline-f8cc2873127dce89e948591cc4f6d2cfe9ab826b.tar
mgaonline-f8cc2873127dce89e948591cc4f6d2cfe9ab826b.tar.gz
mgaonline-f8cc2873127dce89e948591cc4f6d2cfe9ab826b.tar.bz2
mgaonline-f8cc2873127dce89e948591cc4f6d2cfe9ab826b.tar.xz
mgaonline-f8cc2873127dce89e948591cc4f6d2cfe9ab826b.zip
(fork_gurpmi) enable to pass additional options (needed for next commit)
-rwxr-xr-xmdkapplet5
1 files changed, 3 insertions, 2 deletions
diff --git a/mdkapplet b/mdkapplet
index 45ac732e..6ef49495 100755
--- a/mdkapplet
+++ b/mdkapplet
@@ -430,8 +430,9 @@ sub upgrade() {
fork_gurpmi();
}
-sub fork_gurpmi() {
- $mdv_update_pid = fork_exec('gurpmi', '--auto', '--auto-select', '--expect-install', if_($root, "--urpmi-root=$root"));
+sub fork_gurpmi {
+ $mdv_update_pid = fork_exec('gurpmi', '--auto', '--auto-select', '--expect-install',
+ if_($root, "--urpmi-root=$root"), @_);
}
sub add_media() {