fix: ...
This commit is contained in:
@@ -220,7 +220,7 @@ case "${pkgtype}" in
|
||||
chmod 755 ${BuildOMCBinDir}/*
|
||||
cp -rf ${BuildDir}/* ${RpmBuildDir}/BUILD/
|
||||
cp -rf ${CustomizedDir}/agt.d ${RpmBuildOMCDir}/static
|
||||
cp -rf ${CustomizedDir}/omc.d ${RpmBuildOMCDir}/static
|
||||
cp -rf ${CustomizedDir}/psap.d ${RpmBuildOMCDir}/static
|
||||
cd ${RpmBuildDir}
|
||||
rpmbuild -bb -D "_topdir ${RpmBuildDir}" ${RpmBuildDir}/SPECS/omc.spec
|
||||
|
||||
@@ -279,7 +279,7 @@ case "${pkgtype}" in
|
||||
chmod 755 ${DebBuildDir}/DEBIAN/postrm
|
||||
cp -rf ${BuildDir}/* ${DebBuildDir}/
|
||||
cp -rf ${CustomizedDir}/agt.d ${DebBuildOMCDir}/static
|
||||
cp -rf ${CustomizedDir}/omc.d ${DebBuildOMCDir}/static
|
||||
cp -rf ${CustomizedDir}/psap.d ${DebBuildOMCDir}/static
|
||||
#cp -rf ${BuildDir}/nginx/* ${DebBuildDir}/etc/nginx/conf.d
|
||||
#cp -rf ${BuildDir}/systemd/*.service ${DebBuildDir}/lib/systemd/system/
|
||||
chmod +x ${DebBuildDir}/usr/local/omc/bin/*
|
||||
@@ -400,7 +400,7 @@ case "${pkgtype}" in
|
||||
chmod 755 ${DebBuildDir}/DEBIAN/postrm
|
||||
cp -rf ${BuildDir}/* ${DebBuildDir}/
|
||||
cp -rf ${CustomizedDir}/agt.d ${DebBuildOMCDir}/static
|
||||
cp -rf ${CustomizedDir}/omc.d ${DebBuildOMCDir}/static
|
||||
cp -rf ${CustomizedDir}/psap.d ${DebBuildOMCDir}/static
|
||||
#cp -rf ${BuildDir}/nginx/* ${DebBuildDir}/etc/nginx/conf.d
|
||||
#cp -rf ${BuildDir}/systemd/*.service ${DebBuildDir}/lib/systemd/system/
|
||||
chmod +x ${DebBuildDir}/usr/local/omc/bin/*
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
Package: PSAP
|
||||
Version: 1.2506.1-YYYYMMDD
|
||||
Version: 1.2506.1-20250616
|
||||
Section: AGrandTech
|
||||
Prioritt: optional
|
||||
Architecture: amd64
|
||||
|
||||
@@ -47,7 +47,7 @@ fi
|
||||
|
||||
for LogoFile in ${LogoFileList}; do
|
||||
if [ ! -e "${OMCStaticDir}/logo/${LogoFile}" ]; then
|
||||
cp ${OMCStaticDir}/omc.d/logo/${LogoFile} ${OMCStaticDir}/logo;
|
||||
cp ${OMCStaticDir}/psap.d/logo/${LogoFile} ${OMCStaticDir}/logo;
|
||||
fi
|
||||
done
|
||||
|
||||
|
||||
@@ -47,7 +47,7 @@ fi
|
||||
|
||||
for LogoFile in ${LogoFileList}; do
|
||||
if [ ! -e "${OMCStaticDir}/logo/${LogoFile}" ]; then
|
||||
cp ${OMCStaticDir}/omc.d/logo/${LogoFile} ${OMCStaticDir}/logo;
|
||||
cp ${OMCStaticDir}/psap.d/logo/${LogoFile} ${OMCStaticDir}/logo;
|
||||
fi
|
||||
done
|
||||
|
||||
|
||||
@@ -61,7 +61,7 @@ done
|
||||
if [ ! -e "${FERootDir}/config.js" ]; then cp ${FERootDir}/default/config.js ${FERootDir}; fi
|
||||
for LogoFile in ${LogoFileList}; do
|
||||
if [ ! -e "${OMCStaticDir}/logo/${LogoFile}" ]; then
|
||||
cp ${OMCStaticDir}/omc.d/logo/${LogoFile} ${OMCStaticDir}/logo;
|
||||
cp ${OMCStaticDir}/psap.d/logo/${LogoFile} ${OMCStaticDir}/logo;
|
||||
fi
|
||||
done
|
||||
if ! id -u omc >/dev/null 2>&1 ; then useradd -d /opt/omc -m -s /bin/bash -p1000ftp@kp omc; else echo "user omc exist"; fi
|
||||
|
||||
Reference in New Issue
Block a user