|
|
|
@ -37,6 +37,7 @@ fi
@@ -37,6 +37,7 @@ fi
|
|
|
|
|
|
|
|
|
|
# ---- Detect debian based systems ---- |
|
|
|
|
debian_10_str="Debian GNU/Linux 10" |
|
|
|
|
debian_11_str="Debian GNU/Linux 11" |
|
|
|
|
ubuntu_18_04="Ubuntu 18.04" |
|
|
|
|
ubuntu_19_10_str="Ubuntu 19.10" |
|
|
|
|
ubuntu_20_04_str="Ubuntu 20.04" |
|
|
|
@ -52,6 +53,9 @@ if [[ "$ID" = *"debian"* ]]; then
@@ -52,6 +53,9 @@ if [[ "$ID" = *"debian"* ]]; then
|
|
|
|
|
if [[ "$VERSION_ID" = *"10"* ]]; then |
|
|
|
|
echo "found $debian_10_str" |
|
|
|
|
distro_identifier="debian10" |
|
|
|
|
elif [[ "$VERSION_ID" = *"11"* ]]; then |
|
|
|
|
echo "found $debian_11_str" |
|
|
|
|
distro_identifier="debian11" |
|
|
|
|
fi |
|
|
|
|
fi |
|
|
|
|
|
|
|
|
|