From 0ca1bf42d710d1582928081ce9ecb6d083c9bf54 Mon Sep 17 00:00:00 2001 From: John Kordich Date: Fri, 26 Aug 2016 11:22:52 -0700 Subject: [PATCH] Fixing omi preexec for dsc to check for nxFile so and py files --- LCM/scripts/omi_preexec.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/LCM/scripts/omi_preexec.sh b/LCM/scripts/omi_preexec.sh index 982f3ce96..597100a54 100644 --- a/LCM/scripts/omi_preexec.sh +++ b/LCM/scripts/omi_preexec.sh @@ -1,5 +1,5 @@ #!/bin/sh -if [ ! -f /etc/opt/omi/conf/dsc/configuration/schema/MSFT_nxFileResource/MSFT_nxFileResource.schema.mof ]; then +if [ ! -f /etc/opt/omi/conf/dsc/configuration/schema/MSFT_nxFileResource/MSFT_nxFileResource.schema.mof -o ! -f /opt/microsoft/dsc/Scripts/2.6x-2.7x/Scripts/nxFile.py -o ! -f /opt/omi/lib/libMSFT_nxFileResource.so ]; then /opt/microsoft/dsc/Scripts/InstallModule.py /opt/microsoft/dsc/module_packages/nx_1.0.zip 0 fi exit 0