1
0

fix: update yaml config file issue

This commit is contained in:
2024-11-14 19:45:18 +08:00
parent 6a60d55180
commit 39204e55c0
4 changed files with 7 additions and 6 deletions

View File

@@ -48,7 +48,7 @@ for CFile in ${CFileList}; do
else
# mv -f ${OMCEtcDir}/${CFile} ${OMCEtcDir}/${CFile}.bak
# cp -f ${OMCEtcDir}/default/${CFile} ${OMCEtcDir}
if [ -e "${OMCBinDir}/upgconf.sh" ]; then
if [ [ -e "${OMCBinDir}/upgconf.sh" ] && [ "${CFile}" == "restconf.yaml" ] ]; then
${OMCBinDir}/upgconf.sh
fi
fi