diff --git a/sample/All/CLIENT_DATA/setup32.opsiscript b/sample/All/CLIENT_DATA/setup32.opsiscript index 122b931..f620e1d 100644 --- a/sample/All/CLIENT_DATA/setup32.opsiscript +++ b/sample/All/CLIENT_DATA/setup32.opsiscript @@ -24,6 +24,11 @@ DefVar $OLD_VERSION$ DefVar $OLD_CREATOR_TAG$ DefVar $OLD_RELEASE$ +DefStringList $languageInfo$ +set $languageInfo$ = getLocaleInfoMap +DefVar $LanguageId$ +set $LanguageId$ = getValue("default_language_id_decimal", $languageInfo$) + Set $LogDir$ = "%opsiLogDir%" ; The token BUILDER_VARIABLES will be replaced by opsi-builder.sh diff --git a/sample/All/CLIENT_DATA/setup3264.opsiscript b/sample/All/CLIENT_DATA/setup3264.opsiscript index 91f7967..bbbd96f 100644 --- a/sample/All/CLIENT_DATA/setup3264.opsiscript +++ b/sample/All/CLIENT_DATA/setup3264.opsiscript @@ -34,6 +34,10 @@ DefVar $OLD_RELEASE$ Set $INST_SystemType$ = GetSystemType set $INST_architecture$ = GetProductProperty("install_architecture","system specific") +DefStringList $languageInfo$ +set $languageInfo$ = getLocaleInfoMap +DefVar $LanguageId$ +set $LanguageId$ = getValue("default_language_id_decimal", $languageInfo$) Set $LogDir$ = "%opsiLogDir%" diff --git a/sample/All/CLIENT_DATA/setup64.opsiscript b/sample/All/CLIENT_DATA/setup64.opsiscript index ae1a735..3fc4e10 100644 --- a/sample/All/CLIENT_DATA/setup64.opsiscript +++ b/sample/All/CLIENT_DATA/setup64.opsiscript @@ -24,6 +24,11 @@ DefVar $OLD_VERSION$ DefVar $OLD_CREATOR_TAG$ DefVar $OLD_RELEASE$ +DefStringList $languageInfo$ +set $languageInfo$ = getLocaleInfoMap +DefVar $LanguageId$ +set $LanguageId$ = getValue("default_language_id_decimal", $languageInfo$) + Set $LogDir$ = "%opsiLogDir%" ; The token BUILDER_VARIABLES will be replaced by opsi-builder.sh