Skip to content

Commit

Permalink
v9.0
Browse files Browse the repository at this point in the history
- DietPi-Set_software | apt: Minor output tweak
  • Loading branch information
MichaIng committed Jan 15, 2024
1 parent b481bd6 commit 38bf84a
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion dietpi/func/dietpi-set_software
Original file line number Diff line number Diff line change
Expand Up @@ -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') :;;
Expand Down

0 comments on commit 38bf84a

Please sign in to comment.