fix: change var
This commit is contained in:
@@ -58,14 +58,14 @@ chmod +rx ${RPM_BUILD_ROOT}/usr/lib64/*
|
||||
|
||||
# 安装完成后执行
|
||||
%post
|
||||
OmcRootDir=/usr/local/omc
|
||||
OMCEtcDir=${OmcRootDir}/etc
|
||||
FERootDir=${OmcRootDir}/htdocs/front
|
||||
OMCRootDir=/usr/local/omc
|
||||
OMCEtcDir=${OMCRootDir}/etc
|
||||
FERootDir=${OMCRootDir}/htdocs/front
|
||||
UsrLib64Dir=/usr/lib64
|
||||
OmcBinDir=${OmcRootDir}/bin
|
||||
OMCStaticDir=${OmcRootDir}/static
|
||||
OMCBinDir=${OMCRootDir}/bin
|
||||
OMCStaticDir=${OMCRootDir}/static
|
||||
UsrLocalBinDir=/usr/local/bin
|
||||
OmcDaemon=omcd
|
||||
OMCDaemon=omcd
|
||||
NginxEtcDir=/etc/nginx
|
||||
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"
|
||||
@@ -108,7 +108,7 @@ if [ ! -e libwiretap.so ]; then ln -s libwiretap.so.12.0.12 libwiretap.so; fi
|
||||
if [ ! -e libwsutil.so.13 ]; then ln -s libwsutil.so.13.1.0 libwsutil.so.13; fi
|
||||
if [ ! -e libwsutil.so ]; then ln -s libwsutil.so.13.1.0 libwsutil.so; fi
|
||||
cd ${UsrLocalBinDir}
|
||||
if [ ! -e ${OmcDaemon} ]; then ln -s ${OmcBinDir}/omcsvc.sh ${OmcDaemon}; fi
|
||||
if [ ! -e ${OMCDaemon} ]; then ln -s ${OMCBinDir}/omcsvc.sh ${OMCDaemon}; fi
|
||||
|
||||
# setting firewall
|
||||
PortList="80 443 44080 44443 33030 22222"
|
||||
|
||||
Reference in New Issue
Block a user