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

+4 -3
View File
@@ -22,6 +22,7 @@ build/
release/*
# --> debbuild
debbuild/*
!debbuild/22.04/DEBIAN/postinst
!debbuild/DEBIAN/*
!debbuild/22.04
!debbuild/22.04/DEBIAN/*
!debbuild/DEBIAN/
!debbuild/DEBIAN/*
+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
+1 -1
View File
@@ -55,7 +55,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