Dear Nye Liu
/usr/lib/os-release
does have enough informations to read the current suite name of the
installed system.
PRETTY_NAME="Debian GNU/Linux 10 (buster)"
NAME="Debian GNU/Linux"
VERSION_ID="10"
VERSION="10 (buster)"
VERSION_CODENAME=buster
ID=debian
HOME_URL="https://www.debian.org/";
SU
It has now been 10 years.
I will work on this if someone can suggest a way to deterministically
map stable/testing to suite names.
Perhaps we can hit a mirror README (e.g.
http://http.us.debian.org/debian/dists/README) and parse out the
stable/testing/unstable/experimental -> suite mappings?
Or is there a canonical way to do so?
--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubs
3 matches
Mail list logo