Gergo Szakal escribió:
> Getting the service pack number fails with hungarian Windows because it
> reports 'Szervizcsomag 2 ' instead of 'Service Pack 2'. I know very
> little Perl, so asking: will this work?
>
maybe this one could work (I have not test it):
--- todo.pl.old 2007-12-30 00:31:40.179138504 +0100
+++ todo.pl 2007-12-30 00:35:27.598565496 +0100
@@ -217,7 +217,8 @@
if ($csd_version eq '') {
$sp = '';
}
- elsif ($csd_version =~ /^Service Pack (\d+)/) {
+ # Get a version number (only works up to 9)
+ elsif ($csd_version =~ /(\d+)/) {
$sp = "sp$1";
}
else {
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
unattended-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/unattended-devel