aboutsummaryrefslogtreecommitdiffstats
path: root/rpmdrake.pm
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2007-02-22 16:28:05 +0000
committerThierry Vignaud <tv@mandriva.org>2007-02-22 16:28:05 +0000
commit3fa8020515f63b5d6c3de4689d7473c04303030d (patch)
treede86b935cd75f92b15454470b34c87d1d831c33d /rpmdrake.pm
parentd814f711f8def41a8628ddb092ae5ac7a9f5b644 (diff)
downloadrpmdrake-3fa8020515f63b5d6c3de4689d7473c04303030d.tar
rpmdrake-3fa8020515f63b5d6c3de4689d7473c04303030d.tar.gz
rpmdrake-3fa8020515f63b5d6c3de4689d7473c04303030d.tar.bz2
rpmdrake-3fa8020515f63b5d6c3de4689d7473c04303030d.tar.xz
rpmdrake-3fa8020515f63b5d6c3de4689d7473c04303030d.zip
further help perl_checker
Diffstat (limited to 'rpmdrake.pm')
-rw-r--r--rpmdrake.pm6
1 files changed, 3 insertions, 3 deletions
diff --git a/rpmdrake.pm b/rpmdrake.pm
index 43fe4d60..50aa8c25 100644
--- a/rpmdrake.pm
+++ b/rpmdrake.pm
@@ -96,10 +96,10 @@ our $mandrake_release = cat_(
-e '/etc/mandrakelinux-release' ? '/etc/mandrakelinux-release' : '/etc/release'
) || '';
chomp $mandrake_release;
-(our $mdk_version) = $mandrake_release =~ /(\d+\.\d+)/;
-our $branded;
+our ($mdk_version) = $mandrake_release =~ /(\d+\.\d+)/;
+our ($branded, %distrib);
$branded = -f '/etc/sysconfig/oem'
- and our %distrib = MDK::Common::System::distrib();
+ and %distrib = MDK::Common::System::distrib();
our $myname_update = $branded ? N("Software Update") : N("Mandriva Linux Update");
@rpmdrake::prompt::ISA = 'urpm::prompt';