aboutsummaryrefslogtreecommitdiffstats
path: root/t_install_iso/016_check_pubkey.t
diff options
context:
space:
mode:
Diffstat (limited to 't_install_iso/016_check_pubkey.t')
-rw-r--r--t_install_iso/016_check_pubkey.t10
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") {