From 38bf84a302e8d636ebdedde8f48e5345525c3cf6 Mon Sep 17 00:00:00 2001 From: MichaIng Date: Mon, 15 Jan 2024 21:17:36 +0100 Subject: [PATCH] v9.0 - DietPi-Set_software | apt: Minor output tweak --- dietpi/func/dietpi-set_software | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/dietpi/func/dietpi-set_software b/dietpi/func/dietpi-set_software index 84bf2eaa5e..c72255fb48 100755 --- a/dietpi/func/dietpi-set_software +++ b/dietpi/func/dietpi-set_software @@ -208,7 +208,10 @@ deb $INPUT_MODE_VALUE $G_DISTRO_NAME-backports main contrib non-free' > /etc/apt 'compress') case $INPUT_ADDITIONAL_1 in 1|'enable') G_EXEC rm -f "$fp_compress";; - 0|'disable') echo -e '# Please use "dietpi-config" > "Advanded Options" > "APT" to edit this setting.\nAcquire::GzipIndexes "false";' > "$fp_compress";; + 0|'disable') + echo '# Please use "dietpi-config" > "Advanded Options" > "APT" to edit this setting.' > "$fp_compress";; + G_CONFIG_INJECT 'Acquire::GzipIndexes[[:blank:]]' 'Acquire::GzipIndexes "false";' "$fp_compress" + ;; *) Unknown_Input_Additional 1;; esac;; 'reset') :;;