fix misprint

This commit is contained in:
Schtil
2025-02-22 21:55:11 +00:00
parent 89ee4e9055
commit 1c67021b21
+1 -1
View File
@@ -32,7 +32,7 @@ test:
echo "Обрабатываем файл: $file"
if ! grep -q "^ENV http_proxy" "$file"; then
sed -i '/^FROM/ a ENV http_proxy=http:\/\/84.201.181.188:15000\nENV https_proxy=http:\/\/84.201.181.188:15000\nENV no_proxy=localhost' "$file"
echo "\nENV http_proxy=\nENV https_proxy=\nENV no_proxy=" >> "$file"
echo -e "\nENV http_proxy=\nENV https_proxy=\nENV no_proxy=" >> "$file"
echo "Добавлены прокси-переменные в $file"
else
echo "Прокси-переменные уже присутствуют в $file"