From 27af9d7c37b8d6d2a72b80cdb579751e33b1fa90 Mon Sep 17 00:00:00 2001 From: TsMask <340112800@qq.com> Date: Thu, 6 Jun 2024 11:59:01 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E9=BB=98=E8=AE=A4=E9=85=8D=E7=BD=AE?= =?UTF-8?q?=E6=96=87=E4=BB=B6=E8=BF=BD=E5=8A=A0omc.conf=E4=BD=9C=E4=B8=BA?= =?UTF-8?q?=E8=84=9A=E6=9C=AC=E9=85=8D=E7=BD=AE=E5=8F=98=E9=87=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- debbuild/22.04/DEBIAN/postinst | 2 +- debbuild/DEBIAN/postinst | 2 +- rpmbuild/SPECS/omc.spec | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/debbuild/22.04/DEBIAN/postinst b/debbuild/22.04/DEBIAN/postinst index 029435a..966fd79 100644 --- a/debbuild/22.04/DEBIAN/postinst +++ b/debbuild/22.04/DEBIAN/postinst @@ -15,7 +15,7 @@ OmcDaemon=omcd NginxEtcDir=/etc/nginx NginxConfDir=${NginxEtcDir}/conf.d NginxSiteAvailable=${NginxEtcDir}/sites-available -CFileList="restconf.yaml crontask.yaml tasks.yaml sshsvc.yaml capconf.yaml" +CFileList="restconf.yaml crontask.yaml tasks.yaml sshsvc.yaml capconf.yaml omc.conf" LogoFileList="zh_brand.png zh_icon.png en_brand.png en_icon.png" echo "" diff --git a/debbuild/DEBIAN/postinst b/debbuild/DEBIAN/postinst index b1d39fd..58f43db 100644 --- a/debbuild/DEBIAN/postinst +++ b/debbuild/DEBIAN/postinst @@ -15,7 +15,7 @@ OmcDaemon=omcd NginxEtcDir=/etc/nginx NginxConfDir=${NginxEtcDir}/conf.d NginxSiteAvailable=${NginxEtcDir}/sites-available -CFileList="restconf.yaml crontask.yaml tasks.yaml sshsvc.yaml capconf.yaml" +CFileList="restconf.yaml crontask.yaml tasks.yaml sshsvc.yaml capconf.yaml omc.conf" LogoFileList="zh_brand.png zh_icon.png en_brand.png en_icon.png" echo "" diff --git a/rpmbuild/SPECS/omc.spec b/rpmbuild/SPECS/omc.spec index 88a05e4..7130d34 100644 --- a/rpmbuild/SPECS/omc.spec +++ b/rpmbuild/SPECS/omc.spec @@ -72,7 +72,7 @@ OMCStaticDir=/usr/local/omc/static UsrLocalBinDir=/usr/local/bin OmcDaemon=omcd NginxEtcDir=/etc/nginx -CFileList="restconf.yaml crontask.yaml tasks.yaml sshsvc.yaml capconf.yaml" +CFileList="restconf.yaml crontask.yaml tasks.yaml sshsvc.yaml capconf.yaml omc.conf" LogoFileList="zh_brand.png zh_icon.png en_brand.png en_icon.png" for CFile in ${CFileList}; do if [ ! -e "${OMCEtcDir}/${CFile}" ]; then