aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2008-03-11 11:08:25 +0000
committerThierry Vignaud <tv@mandriva.org>2008-03-11 11:08:25 +0000
commit61fa74f75d4e22c635a40a6068f01df52aa0a05a (patch)
tree0688a50836ad0ae9b5b782244f19e80bcfc815c4
parentc63f15a69d521f6e449b77f48b306cec0eeaac54 (diff)
downloadrpmdrake-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--NEWS3
-rw-r--r--Rpmdrake/pkg.pm2
2 files changed, 5 insertions, 0 deletions
diff --git a/NEWS b/NEWS
index 58ed9cac..9bd45e1e 100644
--- a/NEWS
+++ b/NEWS
@@ -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);
}