1
0
This commit is contained in:
2024-11-14 19:58:00 +08:00
parent 39204e55c0
commit d96a2400ce
3 changed files with 4 additions and 4 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" ] && [ "${CFile}" == "restconf.yaml" ] ]; then
if [ -e "${OMCBinDir}/upgconf.sh" ] && [ "${CFile}" == "restconf.yaml" ]; then
${OMCBinDir}/upgconf.sh
fi
fi

View File

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

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" ] && [ "${CFile}" == "restconf.yaml" ] ]; then
if [ -e "${OMCBinDir}/upgconf.sh" ] && [ "${CFile}" == "restconf.yaml" ]; then
${OMCBinDir}/upgconf.sh
fi
fi