diff options
author | Rafael Garcia-Suarez <rgarciasuarez@mandriva.org> | 2005-11-15 17:34:26 +0000 |
---|---|---|
committer | Rafael Garcia-Suarez <rgarciasuarez@mandriva.org> | 2005-11-15 17:34:26 +0000 |
commit | 011052d284cc8110d48b4386628f728c56ae625f (patch) | |
tree | 951d35d4a0c6c13f1554ea0691306d8f49cef36b | |
parent | b8748c1ff17958f62545e1b81333089542b44363 (diff) | |
download | rpmdrake-011052d284cc8110d48b4386628f728c56ae625f.tar rpmdrake-011052d284cc8110d48b4386628f728c56ae625f.tar.gz rpmdrake-011052d284cc8110d48b4386628f728c56ae625f.tar.bz2 rpmdrake-011052d284cc8110d48b4386628f728c56ae625f.tar.xz rpmdrake-011052d284cc8110d48b4386628f728c56ae625f.zip |
Move use statement at the top
-rwxr-xr-x | rpmdrake | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -26,6 +26,7 @@ use MDK::Common 'any'; use lib qw(/usr/lib/libDrakX); use common; use POSIX qw(_exit); +use URPM; BEGIN { #- we want to run this code before the Gtk->init of the use-my_gtk my $basename = sub { local $_ = shift; s|/*\s*$||; s|.*/||; $_ }; @@ -1719,8 +1720,6 @@ you may now inspect some in order to take actions:"), # -=-=-=---=-=-=---=-=-=-- remove packages -=-=-=---=-=-=---=-=-=- sub get_installed_pkgs { - use URPM; - my $wait = wait_msg_with_banner(N("Please wait, reading packages database...")); gtkflush(); my @base = qw(basesystem); |