From 60d37de0626b7c5cb3fda4043e53a874f1595874 Mon Sep 17 00:00:00 2001 From: Alexander Tratsevskiy Date: Sat, 22 Oct 2022 11:34:06 +0300 Subject: [PATCH] =?UTF-8?q?=D0=9F=D0=BE=D0=BF=D1=80=D0=B0=D0=B2=D0=BB?= =?UTF-8?q?=D0=B5=D0=BD=20=D1=81=D0=BA=D1=80=D0=B8=D0=BF=D1=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../6_ac_update_sync/revision/2022/20221020.1-fix_locale | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/profiles/templates/3.6/6_ac_update_sync/revision/2022/20221020.1-fix_locale b/profiles/templates/3.6/6_ac_update_sync/revision/2022/20221020.1-fix_locale index e6535fd1a..5bcc42965 100644 --- a/profiles/templates/3.6/6_ac_update_sync/revision/2022/20221020.1-fix_locale +++ b/profiles/templates/3.6/6_ac_update_sync/revision/2022/20221020.1-fix_locale @@ -1,6 +1,8 @@ # Calculate exec=/bin/bash ini(overlay-calculate.revision)<#-cut(0,-,#-cl_pass_file-#)-# #-ini(overlay-calculate.revision,#-cut(0,-,#-cl_pass_file-#)-#)-# - -sed -i 's/utf8/UTF-8/g' /etc/env.d/02locale +if [[ -e /etc/env.d/02locale ]] +then + sed -i 's/utf8/UTF-8/g' /etc/env.d/02locale +fi exit 0