Add long distro name for Manjaro Linux

Example: Manjaro Linux 21.1.0 Pahvo
This commit is contained in:
Corentin Girard
2022-01-24 23:15:53 +01:00
parent ccd5d9f526
commit 8967ab4200
+6
View File
@@ -987,6 +987,12 @@ get_distro() {
. /etc/armbian-release
distro="Armbian $DISTRIBUTION_CODENAME (${VERSION:-})"
elif [[ -f /etc/manjaro-release ]]; then
case $distro_shorthand in
on|tiny) distro="Manjaro Linux" ;;
*) distro="Manjaro Linux $(lsb_release -src)"
esac
elif [[ -f /etc/siduction-version ]]; then
case $distro_shorthand in
on|tiny) distro=Siduction ;;