From 8fa43ab07e31c26b395ba8ace7304e19f16e3c0c Mon Sep 17 00:00:00 2001 From: zhang Date: Wed, 23 Mar 2022 14:56:45 +0800 Subject: [PATCH] =?UTF-8?q?[=20ZTstory=20#1312=20]=20=E6=9B=B4=E6=94=B9?= =?UTF-8?q?=E7=94=B5=E7=BD=9140=E6=A8=A1=E5=BC=8F=E5=AE=89=E8=A3=85?= =?UTF-8?q?=E6=97=B6=EF=BC=8C=E4=B8=8D=E4=BF=AE=E6=94=B9issue=E6=96=87?= =?UTF-8?q?=E4=BB=B6=E7=9A=84=E6=83=85=E5=86=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 电网40模式安装时,会将issue文件更改为4.2.40,在按照最新的产品命名规范修改产品名称后,电网40模式安装匹配失败,不会修改issue文件。 通过更改安装脚本,修复该问题。 要提交的变更: 修改: operation/finish_install/exec_install_40.sh Signed-off-by: zhang --- operation/finish_install/exec_install_40.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/operation/finish_install/exec_install_40.sh b/operation/finish_install/exec_install_40.sh index e502fc6..86af6d9 100755 --- a/operation/finish_install/exec_install_40.sh +++ b/operation/finish_install/exec_install_40.sh @@ -13,6 +13,6 @@ if [ $os == "40" ];then echo "chown sys:sys /etc/skel/.kde/share/config/kdesktoprc" >> /mnt/opt/StateGrid/install_shell/create_users.sh echo "chown \$USER_NAME:\$USER_NAME \$USER_NAME/.kde/share/config" >> /mnt/opt/StateGrid/install_shell/create_users.sh # change issue - sed 's/6\.0\.42\.41/4\.2\.40/g' /mnt/etc/issue > /mnt/etc/issue.bak + sed 's/6\.0\.42/4\.2\.40/g' /mnt/etc/issue > /mnt/etc/issue.bak mv /mnt/etc/issue.bak /mnt/etc/issue fi