aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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);
}