diff options
author | Thierry Vignaud <tv@mandriva.org> | 2008-10-06 12:18:48 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mandriva.org> | 2008-10-06 12:18:48 +0000 |
commit | d9e32adbb51f4330af31332c082cc5f5fa82d63d (patch) | |
tree | 997b9aaec8350debe3fade06c1678c881ef9d4bb /mdkapplet | |
parent | 8498ace40699214c2187f61726f8259f17597d9a (diff) | |
download | mgaonline-d9e32adbb51f4330af31332c082cc5f5fa82d63d.tar mgaonline-d9e32adbb51f4330af31332c082cc5f5fa82d63d.tar.gz mgaonline-d9e32adbb51f4330af31332c082cc5f5fa82d63d.tar.bz2 mgaonline-d9e32adbb51f4330af31332c082cc5f5fa82d63d.tar.xz mgaonline-d9e32adbb51f4330af31332c082cc5f5fa82d63d.zip |
(fork_gurpmi) split it out of upgrade()
Diffstat (limited to 'mdkapplet')
-rwxr-xr-x | mdkapplet | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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")); } |