aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2008-03-14 14:12:07 +0000
committerThierry Vignaud <tv@mandriva.org>2008-03-14 14:12:07 +0000
commit0751e4075146c91400429c667f1124f786a0b071 (patch)
tree03d29ecfa76f97b79e47e6e27fe9bfbf2c44bcca
parent8584a080354f89a527bb269856444a08da0c3062 (diff)
downloadrpmdrake-0751e4075146c91400429c667f1124f786a0b071.tar
rpmdrake-0751e4075146c91400429c667f1124f786a0b071.tar.gz
rpmdrake-0751e4075146c91400429c667f1124f786a0b071.tar.bz2
rpmdrake-0751e4075146c91400429c667f1124f786a0b071.tar.xz
rpmdrake-0751e4075146c91400429c667f1124f786a0b071.zip
make $need_restart visible from outside (needed for next commit)
-rw-r--r--Rpmdrake/pkg.pm3
1 files changed, 2 insertions, 1 deletions
diff --git a/Rpmdrake/pkg.pm b/Rpmdrake/pkg.pm
index 6388319b..7d414470 100644
--- a/Rpmdrake/pkg.pm
+++ b/Rpmdrake/pkg.pm
@@ -338,7 +338,8 @@ sub get_installed_packages {
urpm::select::add_packages_to_priority_upgrade_list('rpmdrake');
-my ($need_restart, $priority_state, $priority_requested);
+my ($priority_state, $priority_requested);
+our $need_restart;
our $probe_only_for_updates;
sub get_pkgs {