diff --git a/debbuild/DEBIAN/postinst b/debbuild/DEBIAN/postinst index 7395dff..ae6a4d2 100644 --- a/debbuild/DEBIAN/postinst +++ b/debbuild/DEBIAN/postinst @@ -7,6 +7,7 @@ X86Lib64Dir=/lib/x86_64-linux-gnu OmcBinDir=/usr/local/omc/bin UsrLocalBinDir=/usr/local/bin OmcDaemon=omcd +NginxConfDir=/etc/nginx/conf.d CFileList="restconf.yaml crontask.yaml tasks.yaml sshsvc.yaml capconf.yaml" echo "" @@ -63,7 +64,7 @@ else echo "user omc exist"; fi if [ ! -e "${NginxConfDir}/omc.conf" ]; then - mkdir -p ${NginxConfDir} + mkdir -p ${NginxConfDir} cp -f ${OMCEtcDir}/nginx/omc.conf ${NginxConfDir}; fi sudo systemctl restart nginx.service