SF.net SVN: unattended:[4307] trunk/install/bin/todo.pl

jjp3--- via unattended-cvs <[email protected]>
Newsgroups gmane.comp.windows.unattended.cvs
Message-ID <[email protected]>
Revision: 4307
          http://sourceforge.net/p/unattended/code/4307
Author:   jjp3
Date:     2018-12-13 23:59:27 +0000 (Thu, 13 Dec 2018)
Log Message:
-----------
Added Windows Server 2016 and Windows Server 2019
As suggested by Gerhard Hofmann

Modified Paths:
--------------
    trunk/install/bin/todo.pl

Modified: trunk/install/bin/todo.pl
===================================================================
--- trunk/install/bin/todo.pl	2018-12-11 09:40:57 UTC (rev 4306)
+++ trunk/install/bin/todo.pl	2018-12-13 23:59:27 UTC (rev 4307)
@@ -209,16 +209,22 @@
     elsif ($product_name =~ m/Windows Server.*(2008)/) {
         $os = 'ws2k8';
     }
-	elsif ($product_name =~ m/Windows Server.*(2012)/) {
+    elsif ($product_name =~ m/Windows Server.*(2012)/) {
         $os = 'win2012';
     }
+    elsif ($product_name =~ m/Windows Server.*(2016)/) {
+        $os = 'win2016';
+    }
+    elsif ($product_name =~ m/Windows Server.*(2019)/) {
+        $os = 'win2019';
+    }
     elsif ($product_name =~ m/Windows 7/) {
         $os = 'win7';
     }
-	elsif ($product_name =~ m/Windows 8/) {
+    elsif ($product_name =~ m/Windows 8/) {
         $os = 'win8';
     }
-	elsif ($product_name =~ m/Windows 10/) {
+    elsif ($product_name =~ m/Windows 10/) {
         $os = 'win10';
     }
     else {

This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.