chore: 打包restconf.yaml配置文件改名omc.yaml

This commit is contained in:
TsMask
2024-03-19 20:25:59 +08:00
parent 30326c1e53
commit 7e8360dcb4
6 changed files with 6 additions and 6 deletions

View File

@@ -156,7 +156,7 @@ case "$1" in
# cp -rf ${EmsBEDir}/build/build/systemd/*.service ${DebBuildDir}/lib/systemd/system/
chmod +x ${DebBuildDir}/usr/local/omc/bin/*
sed -i "s/YYYYMMDD/${RelDate}/g" ${DebBuildDir}/DEBIAN/control
perl -0777 -i -pe 's/ne:\n user: root/ne:\n user: agtuser/g' ${DebBuildDir}/usr/local/omc/etc/default/restconf.yaml
perl -0777 -i -pe 's/ne:\n user: root/ne:\n user: agtuser/g' ${DebBuildDir}/usr/local/omc/etc/default/omc.yaml
dpkg -b ${DebBuildDir} ${ReleaseDebs}/${DebPkgFile}
cd $ReleaseDir/"$1"s/$RelArch