From 1ba62fb7c1b4ed02349b8921faf237930613e746 Mon Sep 17 00:00:00 2001 From: zhangsz Date: Wed, 2 Jul 2025 17:44:08 +0800 Subject: [PATCH] fix: add psap.yaml default config file --- debbuild/22.04/DEBIAN/postinst | 2 +- debbuild/DEBIAN/postinst | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/debbuild/22.04/DEBIAN/postinst b/debbuild/22.04/DEBIAN/postinst index 56ae131..0f34d47 100755 --- a/debbuild/22.04/DEBIAN/postinst +++ b/debbuild/22.04/DEBIAN/postinst @@ -10,7 +10,7 @@ UsrLocalBinDir=/usr/local/bin OmcDaemon=omcd NginxEtcDir=/etc/nginx NginxConfDir=${NginxEtcDir}/conf.d -CFileList="restconf.yaml sshsvc.yaml omc.conf" +CFileList=$(find ${OMCEtcDir}/default -maxdepth 1 -type f \( -name "*.yaml" -o -name "*.conf" \) -exec basename {} \;) 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 aefd385..41d30a0 100644 --- a/debbuild/DEBIAN/postinst +++ b/debbuild/DEBIAN/postinst @@ -10,7 +10,7 @@ UsrLocalBinDir=/usr/local/bin OmcDaemon=omcd NginxEtcDir=/etc/nginx NginxConfDir=${NginxEtcDir}/conf.d -CFileList="restconf.yaml sshsvc.yaml omc.conf" +CFileList=$(find ${OMCEtcDir}/default -maxdepth 1 -type f \( -name "*.yaml" -o -name "*.conf" \) -exec basename {} \;) LogoFileList="zh_brand.png zh_icon.png en_brand.png en_icon.png" echo ""