aboutsummaryrefslogtreecommitdiffstats
path: root/rpmdrake.pm
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2004-07-27 08:52:36 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2004-07-27 08:52:36 +0000
commit0beb5d7be8df60ec7179255d3035af8a91058ae4 (patch)
tree7bc99e351a283669d6543cd73586deead9a72429 /rpmdrake.pm
parentfd0744fb5c785e7d985f9defed6157500cc5b0bc (diff)
downloadrpmdrake-0beb5d7be8df60ec7179255d3035af8a91058ae4.tar
rpmdrake-0beb5d7be8df60ec7179255d3035af8a91058ae4.tar.gz
rpmdrake-0beb5d7be8df60ec7179255d3035af8a91058ae4.tar.bz2
rpmdrake-0beb5d7be8df60ec7179255d3035af8a91058ae4.tar.xz
rpmdrake-0beb5d7be8df60ec7179255d3035af8a91058ae4.zip
perl_checker cleanups
Diffstat (limited to 'rpmdrake.pm')
-rw-r--r--rpmdrake.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/rpmdrake.pm b/rpmdrake.pm
index 98b6a3a9..00d6fff7 100644
--- a/rpmdrake.pm
+++ b/rpmdrake.pm
@@ -355,7 +355,7 @@ sub compat_arch_for_updates($) {
# FIXME: We prefer 64-bit packages to update on biarch platforms,
# since the system is populated with 64-bit packages anyway.
my ($arch) = @_;
- return $arch =~ /x86_64|amd64/ if (arch() eq 'x86_64');
+ return $arch =~ /x86_64|amd64/ if arch() eq 'x86_64';
MDK::Common::System::compat_arch($arch);
}
@@ -643,7 +643,7 @@ sub add_medium_and_check {
#- matches the current mdk version
sub check_update_media_version {
my $urpm = shift;
- for (@_) {
+ foreach (@_) {
if ($_->{name} =~ /(\d+\.\d+).*\bftp\du\b/ && $1 ne $mdk_version) {
interactive_msg(
'rpmdrake',