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 ""