diff options
author | Thierry Vignaud <tv@mandriva.org> | 2008-03-11 11:08:25 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mandriva.org> | 2008-03-11 11:08:25 +0000 |
commit | 61fa74f75d4e22c635a40a6068f01df52aa0a05a (patch) | |
tree | 0688a50836ad0ae9b5b782244f19e80bcfc815c4 | |
parent | c63f15a69d521f6e449b77f48b306cec0eeaac54 (diff) | |
download | rpmdrake-61fa74f75d4e22c635a40a6068f01df52aa0a05a.tar rpmdrake-61fa74f75d4e22c635a40a6068f01df52aa0a05a.tar.gz rpmdrake-61fa74f75d4e22c635a40a6068f01df52aa0a05a.tar.bz2 rpmdrake-61fa74f75d4e22c635a40a6068f01df52aa0a05a.tar.xz rpmdrake-61fa74f75d4e22c635a40a6068f01df52aa0a05a.zip |
(perform_installation) write configuration before restarting after
priority upgrades so that we don't ask questions again
-rw-r--r-- | NEWS | 3 | ||||
-rw-r--r-- | Rpmdrake/pkg.pm | 2 |
2 files changed, 5 insertions, 0 deletions
@@ -1,3 +1,6 @@ +- write configuration before restarting after priority upgrades so + that we don't ask questions again + Version 4.6.1 - 10 March 2008, Thierry Vignaud - rpmdrake: diff --git a/Rpmdrake/pkg.pm b/Rpmdrake/pkg.pm index c5e71afd..fda98c95 100644 --- a/Rpmdrake/pkg.pm +++ b/Rpmdrake/pkg.pm @@ -827,6 +827,8 @@ you may now inspect some in order to take actions:"), my @argv = ('--previous-priority-upgrade=' . $urpm->{options}{'priority-upgrade'}, grep { !/^--no-priority-upgrade$|--previous-priority-upgrade=/ } @Rpmdrake::init::ARGV_copy); alarm(0); + # remember not to ask again questions and the like: + writeconf(); exec($0, @argv); exit(0); } |