introduce Clear Linux OS in explorers

Note: there is no LSB on Clear Linux, but the latter part
(`rc_getvar /usr/lib/os-release VERSION_ID`) does work.
This commit is contained in:
romain-dartigues 2024-02-10 20:50:12 +01:00
parent e57cf1e70a
commit 7d590225af
1 changed files with 1 additions and 1 deletions

View File

@ -138,7 +138,7 @@ in
cat /etc/SuSE-release
fi
;;
ubuntu)
clear-linux-os|ubuntu)
if command -v lsb_release >/dev/null 2>&1
then
lsb_release -sr