[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#879151: debian-ports support when setting up sources.list



I have no opinion on the last two hunks, and frankly have little idea
regarding why I got CCd into here, but 

On Thu, Jul 30, 2020 at 11:44:33AM +0200, jhcha54008 wrote:
> diff -Naur a/apt-setup-0.158/debian/control b/apt-setup-0.158/debian/control
> --- a/apt-setup-0.158/debian/control	2020-07-05 21:34:06.000000000 +0200
> +++ b/apt-setup-0.158/debian/control	2020-07-21 11:33:23.446944705 +0200
> -# For architectures in the Debian-Ports archive, sources.list has to include
> -# an additional entry for the "unreleased" suite.
> -unset use_unreleased
> -if is_ports_architecture "$(chroot /target /usr/bin/dpkg --print-architecture)"; then
> -	log "Debian-Ports architecture detected"
Why is this line removed from the log now?
> -	use_unreleased=yes
> +# Settings for architectures in the Debian-Ports archive
> +is_ports_architecture=
> +if [ -r /usr/lib/choose-mirror/port_architecture ]; then
> +	is_ports_architecture=$(cat /usr/lib/choose-mirror/port_architecture)
Is there any good reason for this to be a subshell instead of read(1)?
>  fi

наб

Attachment: signature.asc
Description: PGP signature


Reply to: