fix: update yaml config file issue
This commit is contained in:
7
.gitignore
vendored
7
.gitignore
vendored
@@ -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/*
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user