From 75405e04822cff497e16f01a48dbcf5c899b044d Mon Sep 17 00:00:00 2001 From: TsMask <340112800@qq.com> Date: Mon, 11 Aug 2025 19:22:32 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E5=8E=BB=E6=8E=89perl=E6=93=8D=E4=BD=9C?= =?UTF-8?q?restconf.yaml?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- bin/build.sh | 2 -- 1 file changed, 2 deletions(-) diff --git a/bin/build.sh b/bin/build.sh index c158f59..788d795 100755 --- a/bin/build.sh +++ b/bin/build.sh @@ -229,7 +229,6 @@ case "${pkgtype}" in #cp -rf ${BuildDir}/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: omcuser/g' ${DebBuildDir}/usr/local/omc/etc/default/restconf.yaml dpkg -b ${DebBuildDir} ${ReleasePkgDir}/${DebPkgFile} cd ${ReleasePkgDir} @@ -299,7 +298,6 @@ case "${pkgtype}" in echo "Replace all chinese character." 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: omcuser/g' ${DebBuildDir}/usr/local/omc/etc/default/restconf.yaml dpkg -b ${DebBuildDir} ${ReleasePkgDir}/${DebPkgFile} cd ${ReleasePkgDir}