summaryrefslogtreecommitdiffstats
path: root/urpm/main_loop.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2008-03-18 09:11:33 +0000
committerPascal Rigaux <pixel@mandriva.com>2008-03-18 09:11:33 +0000
commit2d334b04228f9ac254b21816567e45a6e08fe9d4 (patch)
tree0d287318d48715835577e6dbbe7cbd8075b1f0fc /urpm/main_loop.pm
parent7117441a1ed466bc2531618ed97639345cb451f7 (diff)
downloadurpmi-2d334b04228f9ac254b21816567e45a6e08fe9d4.tar
urpmi-2d334b04228f9ac254b21816567e45a6e08fe9d4.tar.gz
urpmi-2d334b04228f9ac254b21816567e45a6e08fe9d4.tar.bz2
urpmi-2d334b04228f9ac254b21816567e45a6e08fe9d4.tar.xz
urpmi-2d334b04228f9ac254b21816567e45a6e08fe9d4.zip
handle need_restart() rooted (not very useful, except for tests!)
Diffstat (limited to 'urpm/main_loop.pm')
-rw-r--r--urpm/main_loop.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/urpm/main_loop.pm b/urpm/main_loop.pm
index ff81ee7a..c02e6004 100644
--- a/urpm/main_loop.pm
+++ b/urpm/main_loop.pm
@@ -307,7 +307,7 @@ if ($nok) {
print N("Installation is possible"), "\n";
} elsif (intersection([ keys %{$state->{selected}} ],
[ keys %{$urpm->{provides}{'should-restart'}} ])) {
- if (my $need_restart_formatted = urpm::sys::need_restart_formatted()) {
+ if (my $need_restart_formatted = urpm::sys::need_restart_formatted($urpm->{root})) {
$callbacks->{need_restart}($need_restart_formatted) if $callbacks->{need_restart};
}
}