diff options
author | Thierry Vignaud <tv@mandriva.org> | 2009-11-19 16:57:31 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mandriva.org> | 2009-11-19 16:57:31 +0000 |
commit | c2b15c3e67b952cb34deb10a582ef852108c8f93 (patch) | |
tree | ef66a1731bfa6caa9d729fad0f41a7c036898863 | |
parent | c1f8de32e005e1fb103c57995e216f8593a68a1e (diff) | |
download | mgaonline-c2b15c3e67b952cb34deb10a582ef852108c8f93.tar mgaonline-c2b15c3e67b952cb34deb10a582ef852108c8f93.tar.gz mgaonline-c2b15c3e67b952cb34deb10a582ef852108c8f93.tar.bz2 mgaonline-c2b15c3e67b952cb34deb10a582ef852108c8f93.tar.xz mgaonline-c2b15c3e67b952cb34deb10a582ef852108c8f93.zip |
add/remove some spacing
-rwxr-xr-x | mdkapplet-upgrade-helper | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/mdkapplet-upgrade-helper b/mdkapplet-upgrade-helper index 13ada0a7..78c24e61 100755 --- a/mdkapplet-upgrade-helper +++ b/mdkapplet-upgrade-helper @@ -51,7 +51,6 @@ foreach my $opt (@ARGV) { } elsif ($opt =~ /--download-all=(.*)/) { $download_dir = $1; } - } my $root = Rpmdrake::open_db::fast_open_urpmi_db()->{root}; @@ -221,6 +220,7 @@ packages as well?).")) log::explanations("upgrading urpmi and rpmdrake"); log::explanations("upgrading the whole system"); + # rerun gurpmi in case there was an issue (with eg: big transactions: $refork_gurpmi = 4; { @@ -229,6 +229,7 @@ packages as well?).")) $log_file = chomp_(`mktemp -u -p $ENV{HOME}/ gurpmi_upgrade_to_2009.0_XXXXXXXX`) . '.log'; log::explanations("logging gurpmi message in '$log_file'"); } + # we cannot use installUpdates() as MandrivaUpdate needs the media # flaged as update (or else, we need to add a new option to MandrivaUpdate): run_gurpmi(); |