fix: update yaml config file issue

This commit is contained in:
simonzhangsz committed 2024-11-14 19:45:18 +08:00
1 parent 6a60d55180
commit 39204e55c0
4 files changed
+7 -6

No files matched your search

+1 -1
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
+1 -1
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