From 9ae18c893507893712f4e392bc0f68a032300823 Mon Sep 17 00:00:00 2001 From: AltGrF13 Date: Wed, 1 Jan 2025 05:42:30 +0300 Subject: [PATCH] =?UTF-8?q?#234=20=D1=81=D0=BE=D0=BE=D0=B1=D1=89=D0=B5?= =?UTF-8?q?=D0=BD=D0=B8=D1=8F=20=D0=B4=D0=BB=D1=8F=20=D0=BF=D0=BE=D0=BB?= =?UTF-8?q?=D1=8C=D0=B7=D0=BE=D0=B2=D0=B0=D1=82=D0=B5=D0=BB=D1=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- opt/bin/main/setup | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/opt/bin/main/setup b/opt/bin/main/setup index 87a0718..1ef5b09 100644 --- a/opt/bin/main/setup +++ b/opt/bin/main/setup @@ -415,13 +415,15 @@ list__backup() { if grep -qF '*' "${source_file}" ; then local backup1_file="${backup_path}1_${backup_filename}" + echo "Резервная копия списка старого формата в ${backup1_file}" cp -n "${source_file}" "${backup1_file}" if ! [ -f "${backup2_file}" ] ; then - #отрежем звёзды сами в файл нового формата + echo "Преобразуем в новый формат в ${backup2_file}" sed 's/\*\.//g;s/\*//g' "${source_file}" >"${backup2_file}" fi else + echo "Резервная копия списка в ${backup2_file}" cp -n "${source_file}" "${backup2_file}" fi }