diff options
author | Romain d'Alverny <rda@mageia.org> | 2011-12-10 17:29:07 +0000 |
---|---|---|
committer | Romain d'Alverny <rda@mageia.org> | 2011-12-10 17:29:07 +0000 |
commit | fa4a16119ca7e744aee9b29b8a70ce01aa2516f0 (patch) | |
tree | 6cd442236f6668bd1689577b55af78e4a037c5fb /t_install_iso/016_check_pubkey.t | |
parent | 73301e163a277eae7fd8270cff2cf6277ac925a1 (diff) | |
download | isocheck-fa4a16119ca7e744aee9b29b8a70ce01aa2516f0.tar isocheck-fa4a16119ca7e744aee9b29b8a70ce01aa2516f0.tar.gz isocheck-fa4a16119ca7e744aee9b29b8a70ce01aa2516f0.tar.bz2 isocheck-fa4a16119ca7e744aee9b29b8a70ce01aa2516f0.tar.xz isocheck-fa4a16119ca7e744aee9b29b8a70ce01aa2516f0.zip |
coding style update (perl_checker)
Diffstat (limited to 't_install_iso/016_check_pubkey.t')
-rw-r--r-- | t_install_iso/016_check_pubkey.t | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/t_install_iso/016_check_pubkey.t b/t_install_iso/016_check_pubkey.t index 3678059..d65e2bc 100644 --- a/t_install_iso/016_check_pubkey.t +++ b/t_install_iso/016_check_pubkey.t @@ -39,17 +39,17 @@ my $media; system "ls /media/iso_check/i586/media/ > temp_media_on_iso.log" if -r "/media/iso_check/i586/media/"; system "ls /media/iso_check/x86_64/media/ >> temp_media_on_iso.log" if -r "/media/iso_check/x86_64/media/"; -ok (-r "temp_media_on_iso.log", "Got a log for media contents"); +ok -r "temp_media_on_iso.log", "Got a log for media contents"; open(my $file, "temp_media_on_iso.log") if -r "temp_media_on_iso.log"; while ($media = <$file>) { chomp($media); - if ($info{"arch"} ne "dual" && $media ne 'media_info') { - $path = "/media/iso_check/" . $info{"arch"} . "/media/$media/media_info/pubkey"; - $url = "pubkey/" . $info{"arch"} . "-$media-pubkey"; + if ($info{arch} ne "dual" && $media ne 'media_info') { + $path = "/media/iso_check/" . $info{arch} . "/media/$media/media_info/pubkey"; + $url = "pubkey/" . $info{arch} . "-$media-pubkey"; #$url .= "-cooker" if !$finale; - $pubkey &= check_key($path, $url, $media, $info{"arch"}) if -r $path && -r $url; + $pubkey &= check_key($path, $url, $media, $info{arch}) if -r $path && -r $url; } elsif ($media ne 'media_info') { foreach my $arch ("i586", "x86_64") { |