From fe30d0b126614822c7663747d0764d8b725c31fe Mon Sep 17 00:00:00 2001 From: Stephen Smoogen Date: Tue, 6 Sep 2016 20:27:29 +0000 Subject: [PATCH] try to get this script working --- roles/web-data-analysis/files/getfedora-data.awk | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/roles/web-data-analysis/files/getfedora-data.awk b/roles/web-data-analysis/files/getfedora-data.awk index 0db6d9a637..ce03805eb3 100644 --- a/roles/web-data-analysis/files/getfedora-data.awk +++ b/roles/web-data-analysis/files/getfedora-data.awk @@ -79,13 +79,13 @@ BEGIN{ else if (($3 ~/-29\./) || ($3 ~/-29-/)) { f29 = f29 + 1 } else {unk_rel = unk_rel +1 } - if (($3 ~/Cloud-Atomic/) || ($3 ~/Cloud_Atomic/)) { atomic = atomic +1 ; edit = edit +1; total = total +1 } - else if (($3 ~/Cloud-Base/) || ($3 ~/Cloud_Base/)) { cloud = cloud +1 ; edit = edit +1; total = total +1 } - else if (($3 ~/Cloud-netinst/) || ($3 ~/Cloud_netinst/)) { cloud = cloud +1; netinstall = netinstall +1 ; netclod=netclod+1; edit = edit +1; total = total +1 } - else if (($3 ~/Server-DVD/) || ($3 ~/Server_DVD/)) { server = server +1; edit = edit +1;total = total +1 } - else if (($3 ~/Server-netinst/) || ($3 ~/Server_netinst/)) { server = server +1; netinstall = netinstall +1 ; netserv=netserv+1; edit = edit +1;total = total +1 } + if (($3 ~/Cloud-Atomic/) || ($3 ~/Cloud_Atomic/) || ($3 ~/Fedora-Atomic/) ) { atomic = atomic +1 ; edit = edit +1; total = total +1 } + else if (($3 ~/Cloud-Base/) || ($3 ~/Cloud_Base/)) { cloud = cloud +1 ; edit = edit +1; total = total +1 } + else if (($3 ~/Cloud-netinst/) || ($3 ~/Cloud_netinst/)) { cloud = cloud +1; netinstall = netinstall +1 ; netclod=netclod+1; edit = edit +1; total = total +1 } + else if (($3 ~/Server-DVD/) || ($3 ~/Server_DVD/) || ($3 ~/Server-dvd/) { server = server +1; edit = edit +1;total = total +1 } + else if (($3 ~/Server-netinst/) || ($3 ~/Server_netinst/)) { server = server +1; netinstall = netinstall +1 ; netserv=netserv+1; edit = edit +1;total = total +1 } else if (($3 ~/Workstation-netinst/) || ($3 ~/Workstation_netinst/)) { workstation = workstation +1; netinstall = netinstall +1; network=network+1; edit = edit +1;total = total +1 } - else if (($3 ~/Live-Workstation/) || ($3 ~/Live_Workstation/)) { workstation = workstation +1; edit = edit +1;total = total +1 } + else if (($3 ~/Live-Workstation/) || ($3 ~/Live_Workstation/) || ($3 ~/Workstation-Live/) { workstation = workstation +1; edit = edit +1;total = total +1 } else if (($3 ~/Desktop/) || ($3 ~/Desktop/)) { workstation = workstation +1; edit = edit +1;total = total +1 } else if (($3 ~/Fedora-20-i386-DVD/) || ($3 ~/Fedora-20-ppc64-DVD/) || ($3 ~/Fedora-20-x86_64-DVD/) || ($3 ~/Fedora-i386-20/) || ($3 ~/Fedora-x86_64-20/)) { server = server +1; edit = edit +1;total = total +1 } else if (($3 ~/Fedora-20-i386-netinst.iso/) || ($3 ~/Fedora-20-ppc64-netinst.iso/) || ($3 ~/Fedora-20-x86_64-netinst.iso/) ) { server = server +1; netinstall = netinstall + 1; netserv = netserv+1; edit = edit +1;total = total +1 }