aboutsummaryrefslogtreecommitdiffstats
path: root/Rpmdrake
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 /Rpmdrake
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
Diffstat (limited to 'Rpmdrake')
-rw-r--r--Rpmdrake/pkg.pm2
1 files changed, 2 insertions, 0 deletions
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);
}