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

Re: [debian-edu-commits] [Git][debian-edu/debian-edu-config][master] 2 commits: Adjust sbin/debian-edu-pxeinstall



Hi Wolfgang,

On Mon, Mar 18, 2019 at 02:43:43PM +0000, WolfgangSchweer wrote:
> 02f4c2cf by Wolfgang Schweer at 2019-03-18T14:39:22Z
[...]
> Replace code to determine the distribution so that it also works offline.

refers to the following change, I believe:

> -[ "$dist" ]       || dist=$(lsb_release -sc)
> +[ "$dist" ]       || dist=$(cat /etc/debian_version | cut -d'/' -f1)

why doesn't the former work offline?

is that maybe a bug in lsb_release (which we could work around like the
above, but then we should probably file a bug so it gets fixed properly
eventually...) ?


-- 
tschau,
	Holger

-------------------------------------------------------------------------------
               holger@(debian|reproducible-builds|layer-acht).org
       PGP fingerprint: B8BF 5413 7B09 D35C F026 FE9D 091A B856 069A AA1C

Attachment: signature.asc
Description: PGP signature


Reply to: