Skip to content

Commit ce98660

Browse files
committed
dietpi-set_software: APT mirror: skip trailing slash for default Debian mirror
as we did in all other cases already: an alignment. The trailing slash is truncated internally anyway. We tend to add it for fully qualified URLs in other contexts to avoid a potential 301 redirect, but APT mirrors are never accessed like that, but only the (In)Release and Package(.*) files for the repo suite and component.
1 parent 8490af7 commit ce98660

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dietpi/func/dietpi-set_software

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -318,7 +318,7 @@ $FP_SCRIPT rpi_kernel_choice <empty> Supported on Debian Bookworm or newer on R
318318

319319
# Debian
320320
else
321-
[[ $INPUT_MODE_VALUE == 'default' ]] && INPUT_MODE_VALUE='https://deb.debian.org/debian/'
321+
[[ $INPUT_MODE_VALUE == 'default' ]] && INPUT_MODE_VALUE='https://deb.debian.org/debian'
322322

323323
G_EXEC eval "echo 'deb $INPUT_MODE_VALUE $G_DISTRO_NAME main contrib non-free non-free-firmware
324324
deb $INPUT_MODE_VALUE $G_DISTRO_NAME-updates main contrib non-free non-free-firmware

0 commit comments

Comments
 (0)