OPSI-Paket opsi-configed

Antworten
Patrick89bvb
Beiträge: 44
Registriert: 05 Nov 2015, 11:26

OPSI-Paket opsi-configed

Beitrag von Patrick89bvb »

Moin!

bei der Installation des opsi-paket "opsi-configed" habe ich einen Tipp-Fehler entdeckt, die Variabel $javaCurrentBundle64Bit fehlt am Ende ein "$". Hier ein Auszug aus dem Log. :)

Code: Alles auswählen

(624)     [6] [2021-08-18 15:03:10.194] [opsi-configed]   $JavaRuntimeSelection$ = $javaCurrentBundle64Bit$   <<< result false
(625)     [6] [2021-08-18 15:03:10.194] [opsi-configed] Then
(626)     [6] [2021-08-18 15:03:10.194] [opsi-configed] Else
(627)     [6] [2021-08-18 15:03:10.194] [opsi-configed]   Set  $UseBundledJavaRuntime$ = "false"
(628)     [6] [2021-08-18 15:03:10.194] [opsi-configed]     The value of the variable "$UseBundledJavaRuntime$" is now: "false"
(629)     [6] [2021-08-18 15:03:10.194] [opsi-configed]   Set  $targetstring$ = "java"
(630)     [6] [2021-08-18 15:03:10.194] [opsi-configed]     The value of the variable "$targetstring$" is now: "java"
(631)     [6] [2021-08-18 15:03:10.194] [opsi-configed]   Set  $list$= shellCall('which java')
(632)     [6] [2021-08-18 15:03:10.295] [opsi-configed]   ShellCall Executing: /bin/bash -c "which java || exit $?"
(633)     [6] [2021-08-18 15:03:10.396] [opsi-configed]   Set  $dummy$ = count ($list$)
(634)     [6] [2021-08-18 15:03:10.397] [opsi-configed]     The value of the variable "$dummy$" is now: "0"
(635)     [6] [2021-08-18 15:03:10.397] [opsi-configed]   If
(636)     [6] [2021-08-18 15:03:10.397] [opsi-configed]     NOT ( $dummy$ = "0" )   <<< result false
(637)     [6] [2021-08-18 15:03:10.397] [opsi-configed]   Then
(638)     [6] [2021-08-18 15:03:10.399] [opsi-configed]   Else
(639)     [6] [2021-08-18 15:03:10.399] [opsi-configed]     Set  $UseBundledJavaRuntime$ = "true"
(640)     [6] [2021-08-18 15:03:10.400] [opsi-configed]       The value of the variable "$UseBundledJavaRuntime$" is now: "true"
(641)     [6] [2021-08-18 15:03:10.400] [opsi-configed]     Set  $JavaRuntimeSelection$ = $javaCurrentBundle64Bit
(642)     [2] [2021-08-18 15:03:10.401] [opsi-configed]     Syntax Error in Section: sub_pre_checks (Command in line 301 in section: sub_pre_checks; file: setup_linux.opsiscript; section start at line: 6; origin: setup_linux.opsiscript; line: 28): $JavaRuntimeSelection$ = $javaCurrentBundle64Bit -> $javaCurrentBundle64Bit illegal String Expressionstr
(643)     [2] [2021-08-18 15:03:10.401] [opsi-configed]     Syntax Error in Section: sub_pre_checks (Command in line 302 in section: sub_pre_checks; file: setup_linux.opsiscript; section start at line: 6; origin: setup_linux.opsiscript; line: 29): EndIf -> expected
(644)     [6] [2021-08-18 15:03:10.401] [opsi-configed] 
Antworten