diff options
author | Thierry Vignaud <tv@mandriva.org> | 2009-07-22 10:19:34 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mandriva.org> | 2009-07-22 10:19:34 +0000 |
commit | d491ce3929c5bb13042effa3c4aef0428a31c561 (patch) | |
tree | 294a95afdfa726c7bf7f939c408f74211e532275 /mdkapplet-upgrade-helper | |
parent | 00cbc17fa349dfa780e9b7a37a868ea212113b73 (diff) | |
download | mgaonline-d491ce3929c5bb13042effa3c4aef0428a31c561.tar mgaonline-d491ce3929c5bb13042effa3c4aef0428a31c561.tar.gz mgaonline-d491ce3929c5bb13042effa3c4aef0428a31c561.tar.bz2 mgaonline-d491ce3929c5bb13042effa3c4aef0428a31c561.tar.xz mgaonline-d491ce3929c5bb13042effa3c4aef0428a31c561.zip |
(upgrade) remove the "upgrade in progress" flag when adding media
failed (might fix #50450)
Diffstat (limited to 'mdkapplet-upgrade-helper')
-rwxr-xr-x | mdkapplet-upgrade-helper | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/mdkapplet-upgrade-helper b/mdkapplet-upgrade-helper index 22d09abb..f7ba00c3 100755 --- a/mdkapplet-upgrade-helper +++ b/mdkapplet-upgrade-helper @@ -202,6 +202,7 @@ packages as well?).")) system('gurpmi.addmedia', '--silent-success', if_($root, "--urpmi-root=$root"), '--distrib', '--mirrorlist', '$MIRRORLIST') and do { log::explanations("adding media for new distribution failed"); + rm_rf(get_stale_upgrade_filename()); log::explanations("restoringing urpmi configuration from $file"); cp_af($file, "$root/etc/urpmi/urpmi.cfg"); update_media(); |