deprecated software Ubuntu 20.04

This commit is contained in:
Aleksandr Chebotov
2020-05-14 16:55:23 +03:00
parent 61b400df05
commit df85366207
5 changed files with 58 additions and 46 deletions

View File

@@ -6,12 +6,17 @@
function isUbuntu16
{
lsb_release -d|grep 'Ubuntu 16' > /dev/null
lsb_release -d | grep -q 'Ubuntu 16'
}
function isUbuntu18
{
lsb_release -d|grep 'Ubuntu 18' > /dev/null
lsb_release -d | grep -q 'Ubuntu 18'
}
function isUbuntu20
{
lsb_release -d | grep -q 'Ubuntu 20'
}
function getOSVersionLabel